SetWeightClass - Armor

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Armor Script

Sets the weight class of the armor to the specified weight class. (This function requires SKSE)

Syntax[edit | edit source]

Function SetWeightClass(int weightClass) native

Parameters[edit | edit source]

  • weightClass: The new weight class of the armor.
    • 0 = Light
    • 1 = Heavy
    • 2 = None

Return Value[edit | edit source]

None.

Examples[edit | edit source]

; Changes LightArmorProperty to a heavy armor
LightArmorProperty.SetWeightClass(1)

See Also[edit | edit source]