SetEquipmentBipedMask

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[help]
(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

See Also