Difference between revisions of "SetWeight"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender Sets the weight of the type. '''Syntax:''' (nothing) ''reference.''SetWeight nuWeight:float ''objectID:ref'...)
 
imported>Haama
(Notes on encumbrance update)
 
(2 intermediate revisions 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==
Line 14: Line 17:
[[Category:Inventory Functions]]
[[Category:Inventory Functions]]
[[Category:Inventory Functions (OBSE)]]
[[Category:Inventory Functions (OBSE)]]
[[Category:Condition Functions]]
[[Category:Condition Functions (OBSE)]]

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]