WornItem Struct - Actor

F4SE Member of: Actor Script
Requires F4SE version 0.2.0 or higher.

A structure that holds information about an actors Biped Slot.

SyntaxEdit

Struct WornItem
  Form Item
  Form Model
  string ModelName
  Form MaterialSwap
  TextureSet Texture
EndStruct

MembersEdit

  • Item: Can be an Armor or a Weapon.
  • Model: Can be an Armor or a Weapon depending on item.
  • ModelName: The model override name.
  • MaterialSwap: The material swap form.
  • Texture: The TextureSet override form.

ExamplesEdit

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)

See AlsoEdit