WornItem Struct - Actor

From the Fallout4 CreationKit Wiki
Revision as of 11:46, 6 April 2017 by imported>Qazaaq (Added F4SE member)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

F4SE Member of: Actor Script

A structure that holds information about an actors Biped Slot.

Syntax

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

Members

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

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)

See Also