SetEquipmentSlotsMask

Revision as of 11:09, 16 July 2014 by imported>Odessa (created based on gribbleshnibbit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::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

(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