Difference between revisions of "GetEquippedArmorInSlot - Actor"
Jump to navigation
Jump to search
(Add info) |
|||
Line 13: | Line 13: | ||
==Return Value== | ==Return Value== | ||
The currently equipped armor in the specified slot. | The currently equipped armor in the specified slot. | ||
== Examples == | |||
<source lang="papyrus"> | |||
; 36 - ring slot | |||
Armor myPrecious = gollum.GetEquippedArmorInSlot(36) | |||
</source> | |||
== Notes == | |||
* [[Biped_Object#Existing_Named_Nodes|List of slots IDs]] | |||
* Some armors can occupy more than one slot, specify either to get the armor piece. |
Revision as of 07:12, 12 July 2023
Member of: Actor Script
Obtain the armor currently equipped in the specified slot.
Syntax
Armor Function GetEquippedArmorInSlot(int aiSlot) native
Parameters
- aiSlot: The slot from which to get the currently equipped armor.
Return Value
The currently equipped armor in the specified slot.
Examples
; 36 - ring slot
Armor myPrecious = gollum.GetEquippedArmorInSlot(36)
Notes
- List of slots IDs
- Some armors can occupy more than one slot, specify either to get the armor piece.