Difference between revisions of "GetMaskForSlot - Armor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Fg109
(Created page for GetMaskForSlot)
 
imported>Fg109
m (moved GetMaskForSlot- Armor to GetMaskForSlot - Armor: Misspelled title of page)
 

Latest revision as of 15:46, 10 May 2012

SKSE Member of: Armor Script

Returns the slot mask for a single slot. (This function requires SKSE)

Syntax[edit | edit source]

int Function GetMaskForSlot(int slot) global native

Parameters[edit | edit source]

  • slot: The equip slot. (eg 30 for Head, 42 for Circlet, etc)

Return Value[edit | edit source]

  • The slot mask associated with the equip slot.

Examples[edit | edit source]

; Get the slot mask for the ring equip slot
int slotmask = Armor.GetSlotMask(36)
; Returns 64

See Also[edit | edit source]