SetEquipmentBipedMask
Revision as of 18:06, 14 September 2014 by imported>Odessa (created)
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Sets the equipment flags used by the specified armor to a bitmask int. Bitmasks may be built by using ClearBit/SetBit. Added by NVSE 4.5.
Syntax
(none) SetEquipmentBipedMask NewBitMask:int ToModify: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 NewBitMask SetEquipmentBipedMask NewBitMask, ArmorLeather