SetEquipmentSlotsMask

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 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

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