SetWeightClass - Armor

From the CreationKit Wiki
Revision as of 11:20, 10 May 2012 by imported>Fg109 (Created page for SetWeightClass)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]