SetEquipmentBipedMask

From GECK
(Redirected from SetEBM)
Jump to: navigation, search


A function added by the New Vegas Script Extender.

Description

Sets the equipment flags used by the specified armor to a mask (int). Masks may be built by using ClearBit/SetBit.

Syntax

[help]
(none) SetEquipmentBipedMask NewBitMask:int ToModify:armor 

Or:

(none) SetEBM NewBitMask:int ToModify:armor 

Bit Fields

Flag Bit Equipment Mask
4 2 HasBackpack
8 3 Medium Armor
32 5 Power Armor
64 6 Non-playable
128 7 HeavyArmor

Other bits are either unused or unknown.

Example

int NewMask

SetEquipmentBipedMask NewMask, ArmorLeather

See Also