Mod:Creation Kit/GetWornItem - Actor

F4SE Member of: Actor Script

Obtains WornItem information about an actors Biped Slot.

Parameters

 * slotIndex: The Biped Slot index to check.
 * firstPerson: Specifies whether first or third person information for the Biped Slot should be returned.

Return Value
The WornItem for the given Biped Slot index.

Armor Slot Precedence
There is a precedence to Armor slot ordering which is from head-to-toe. An Armor form only properly exists on the highest slot it covers, lower slots will return none. Armors will superfically flag the cover slots it covers as occupied.

For example a helmet with goggles that covers the HEAD + EYE slots will have to be accessed via the HEAD slot. On the other hand, a gas mask that covers the EYE + MOUTH slots will need to be accessed via the EYE slot. If for some reason there is a mask that covers the HEAD + EYES + MOUTH then it will need to be accessed via the HEAD slot because its the highest one.