GetWornItem - Actor

Revision as of 13:41, 6 April 2017 by imported>Qazaaq (Added F4SE member)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

F4SE Member of: Actor Script

Obtains WornItem information about an actors Biped Slot.

Syntax

WornItem Function GetWornItem(int slotIndex, bool firstPerson = false) Native

Parameters

  • slotIndex: The Biped Slot 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.

Examples

Actor:WornItem wornValue = Game.GetPlayer().GetWornItem(34)
Debug.Trace(wornValue.Item)
Debug.Trace(wornValue.Model)
Debug.Trace(wornValue.ModelName)
Debug.Trace(wornValue.MaterialSwap)
Debug.Trace(wornValue.Texture)

Notes

  • Item can be none and still contain other information at a particular slot.

See Also