GetSlotMask - Armor

From the CreationKit Wiki
Revision as of 13:52, 24 September 2014 by imported>Terra Nova2 (Reverted back to original.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SKSE Member of: Armor Script

Returns the slot mask of the armor. (This function requires SKSE)

Syntax[edit | edit source]

int Function GetSlotMask() native

Parameters[edit | edit source]

  • None

Return Value[edit | edit source]

The slot mask of the armor.

Examples[edit | edit source]

; Obtain the slot mask of an armor property
int SlotMask = ArmorProperty.GetSlotMask()
if (SlotMask == 4)
	Debug.Trace("This armor is equipped on the body, and only the body.")
endif

See Also[edit | edit source]