GetWeight - Form
Jump to navigation
Jump to search
SKSE Member of: Form Script
Returns the weight of this form. (This function requires SKSE)
Syntax[edit | edit source]
float Function GetWeight() native
Parameters[edit | edit source]
None
Return Value[edit | edit source]
The weight of this form, or 0.0 if it doesn't have a value.
Examples[edit | edit source]
if Game.GetPlayer().GetEquippedWeapon().GetWeight() > 25.0
Debug.Trace("Your weapon is heavy!")
endIf
Notes[edit | edit source]
- Returns 0.0 when used on actors, even though actors have weight.