Background for Skyrim SE
Member of the Armor script
intfunctionGetMaskForSlot(intslot)NativeGlobal

Description

Wiki Description

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

Documentation Comment

calculates the equivalent value for the properties below


Caveats


Parameters

intslot

CK Wiki Description

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


Examples

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

Auto-Generated Example

int myInt__slot

int returnedValue = Armor.GetMaskForSlot(myInt__slot)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.