GetEquipmentBipedMask
Revision as of 18:03, 14 September 2014 by imported>Odessa (created)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns the equipment flags used by the specified armor as a bitmask int. Bitmasks may be built by using ClearBit/SetBit. Added by NVSE 4.5.
Syntax
(BitMask:int) GetEquipmentBipedMask ToGetMaskOf:armor
Bit Fields
- 4 = HasBackpack
- 8 = Medium Armor
- 32 = Power Armor
- 64 = Non playable
- 128 = HeavyArmor
Other bits are either unused or unknown.
Example
int BitMask let BitMask := GetEquipmentBipedMask ArmorTeslaPower ; * 160 (Heavy + Power)