GetMaskForSlot - Armor

Revision as of 12:42, 10 May 2012 by imported>Fg109 (Created page for GetMaskForSlot)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: Armor Script

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

Syntax

int Function GetMaskForSlot(int slot) global native

Parameters

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

Return Value

  • The slot mask associated with the equip slot.

Examples

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

See Also