SetWeight

From the Oblivion ConstructionSet Wiki
Revision as of 00:32, 2 October 2007 by imported>Haama (Notes on encumbrance update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(nothing) reference.SetWeight nuWeight:float objectID:ref

Sets the weight of the type.

Notes[edit | edit source]

  • If you change the weight of an item while the player has it in their inventory, their encumbrance won't be updated automatically. They have to pick up another item, or you can add/remove another item to force an update.

See Also[edit | edit source]