GetEquippedItemRef

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns an Inventory Reference of the item currently equipped by the calling actor and using the specified Equipment Slot.

Syntax

[help]
(itemRef:ref) reference.GetEquippedItemRef equipSlotID:int{0-19}

Equipment Slot IDs

0	Head
1	Hair
2	Upper Body
3	Left Hand
4	Right Hand
5	Weapon
6	Pip-Boy
7	Backpack
8	Necklace
9	Headband
10	Hat
11	Eye Glasses
12	Nose Ring
13	Earrings
14	Mask
15	Choker
16	Mouth Object
17	Body Addon 1
18	Body Addon 2
19	Body Addon 3

Example

set rItemRef to actorRef.GetEquippedItemRef 5 

See Also