Difference between revisions of "WornItem Struct - Actor"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Added F4SE member)
 
imported>Qazaaq
(added required f4se version)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:F4SE]]
'''F4SE Member of:''' [[Actor Script]]
'''F4SE Member of:''' [[Actor Script]]
{{Template:Papyrus:RequiredF4SE|version=0.2.0}}


A structure that holds information about an actors [[Biped Slots|Biped Slot]].
A structure that holds information about an actors [[Biped Slots|Biped Slot]].
Line 38: Line 36:
*[[Biped Slots]]
*[[Biped Slots]]
*[[GetWornItem - Actor]]
*[[GetWornItem - Actor]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:F4SE]]

Latest revision as of 23:39, 20 January 2018

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

A structure that holds information about an actors Biped Slot.

Syntax[edit | edit source]

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

Members[edit | edit source]

  • 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[edit | edit source]

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[edit | edit source]