SetBipedSlotMask
This article has been added to the Wiki by CSbot, an automated WikiBot. If you notice anything wrong with this page, please notify DragoonWraith, this bot's operator, by adding a comment to the end of User talk:DragoonWraith. If this article seems to be correct, then you can help the Wiki by removing this message, by editing this page and deleting the {{BotAddedPage}} template from the top of it. Thank you.
A function added by the Oblivion Script Extender.
Syntax:
(void) reference.SetBipedSlotMask slotMask:long object:ref
Sets the slots occupied by a biped object.
Slot Mask Bit Assignments
When dealing with a slot mask, such as used by this function, each equipment slot is assigned to a single bit of a 32-bit value: when that bit is 1, that slot is included, and when it is 0, it is not. Having multiple bits set to 1 allows the scripter to deal with a specific list of slots, even if that particular list is not supported by the individual OBSE Slot Codes.
Hex Dec Slot 0x00000001 1 Head 0x00000002 2 Hair 0x00000004 4 UpperBody 0x00000008 8 LowerBody 0x00000010 16 Hand 0x00000020 32 Foot 0x00000040 64 RightRing 0x00000080 128 LeftRing 0x00000100 256 Amulet 0x00000200 512 Weapon 0x00000400 1024 BackWeapon 0x00000800 2048 SideWeapon 0x00001000 4096 Quiver 0x00002000 8192 Shield 0x00004000 16384 Torch 0x00008000 32768 Tail 0x00010000 65536 Weapon 0x00020000 131072 Ammo 0x00040000 262144 Ranged Weapon