Background for Skyrim SE
Member of the iEquip_InventoryExt script
intfunctionGetRefHandleFromWornObject(inta_equipSlot)NativeGlobal

Description

Documentation Comment

@brief Retrieves the ref handle from the worn object.
@param a_equipSlot The slot the object is equipped to.
@return Returns INVALID_REFHANDLE on error, else returns the ref handle for the worn object.
@notes Valid equip slots:
0 - LeftHand
1 - RightHand
2 - Shield
3 - Head
4 - Chest
5 - Boots
6 - Gloves


Caveats


Parameters

inta_equipSlot


Examples

Auto-Generated Example

int myInt__a_equipSlot

int returnedValue = iEquip_InventoryExt.GetRefHandleFromWornObject(myInt__a_equipSlot)
Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.