Difference between revisions of "SetWeight"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Haama
(Notes on encumbrance update)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
'''Syntax:'''
(nothing) ''reference.''SetWeight nuWeight:float ''objectID:ref''


Sets the weight of the type.
Sets the weight of the type.


'''Syntax:'''
==Notes==
(nothing) ''reference.''SetWeight nuWeight:float ''objectID:ref''
* 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==
==See Also==

Latest revision as of 00:32, 2 October 2007

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]