GetSlotMask - Armor

From the CreationKit Wiki
Revision as of 15:49, 10 May 2012 by imported>Fg109 (→‎See Also)
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