GetSlotMask - Armor

From Creation Kit
Jump to: navigation, search

SKSE Member of: Armor Script

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

Syntax

int Function GetSlotMask() native

Parameters

  • None

Return Value

The slot mask of the armor.

Examples

; 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