GetMaskForSlot - Armor

SKSE Member of: Armor Script

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

SyntaxEdit

int Function GetMaskForSlot(int slot) global native

ParametersEdit

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

Return ValueEdit

  • The slot mask associated with the equip slot.

ExamplesEdit

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

See AlsoEdit