SetEquipmentSlotsMask

From GECK

A function added by the New Vegas Script Extender.

Description

Sets the slots used by the biped form from a bitmask int, for the specified object or calling reference.

The mask is a bitmask that should be built by using ClearBit/SetBit. The order is as returned by GetEquippedObject or as defined in the GECK slot list of an armor, and starts at 0.

Syntax

(BitMask:int) reference.SetEquipmentSlotsMask BitMask:int ToSetSlotsOf:form 

Or:

(BitMask:int) reference.SetESM BitMask:int ToSetSlotsOf:form

Example

int BitMask
SetEquipmentSlotsMask BitMask, ArmorLeather

See Also

Personal tools