GetWeight - Form

SKSE Member of: Form Script

Returns the weight of this form. (This function requires SKSE)

SyntaxEdit

float Function GetWeight() native

ParametersEdit

None

Return ValueEdit

The weight of this form, or 0.0 if it doesn't have a value.

ExamplesEdit

if Game.GetPlayer().GetEquippedWeapon().GetWeight() > 25.0
  Debug.Trace("Your weapon is heavy!")
endIf

NotesEdit

  • Returns 0.0 when used on actors, even though actors have weight.

See AlsoEdit