Difference between revisions of "GetEquippedArmorInSlot - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
'''Member of:''' [[Actor Script]]
'''Member of:''' [[Actor Script]] ''(Requires SSE 1.5.3)''


Obtain the armor currently equipped in the specified slot.
Obtain the armor currently equipped in the specified slot.
Line 23: Line 23:
* [[Biped_Object#Existing_Named_Nodes|List of slots IDs]]
* [[Biped_Object#Existing_Named_Nodes|List of slots IDs]]
* Some armors can occupy more than one slot, specify either to get the armor piece.
* Some armors can occupy more than one slot, specify either to get the armor piece.
== See Also ==
*[[UnequipItemSlot - Actor]]

Latest revision as of 06:53, 13 July 2023

Member of: Actor Script (Requires SSE 1.5.3)

Obtain the armor currently equipped in the specified slot.

Syntax[edit | edit source]

Armor Function GetEquippedArmorInSlot(int aiSlot) native

Parameters[edit | edit source]

  • aiSlot: The slot from which to get the currently equipped armor.

Return Value[edit | edit source]

The currently equipped armor in the specified slot.

Examples[edit | edit source]

; 36 - ring slot
Armor myPrecious = gollum.GetEquippedArmorInSlot(36)

Notes[edit | edit source]

  • List of slots IDs
  • Some armors can occupy more than one slot, specify either to get the armor piece.

See Also[edit | edit source]