GetSlotMask - Armor

From the CreationKit Wiki
Revision as of 12:02, 10 May 2012 by imported>Fg109 (Created page for GetSlotMask)
(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

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