Difference between revisions of "GetEquipmentSlot"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>WereWolf
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
Returns the equipment slot of the object.


'''Syntax:'''
'''Syntax:'''
  (slot:short) ''reference.''GetEquipmentSlot ''objectID:ref''
  (slot:short) ''reference.''GetEquipmentSlot ''objectID:ref''
Returns the equipment slot of the object.


  '''Equipment Slot IDs:'''
  '''Equipment Slot IDs:'''

Revision as of 11:58, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(slot:short) reference.GetEquipmentSlot objectID:ref

Returns the equipment slot of the object.

Equipment Slot IDs:
 0:    head
 1:    hair
 2:    upper body
 3:    lower body
 4:    hand
 5:    foot
 6:    right ring
 7:    left ring
 8:    amulet
 9:    weapon
10:    back weapon
11:    side weapon
12:    quiver
13:    shield
14:    torch
15:    tail
16:    weapon*
17:    ammo*
18:    lower and upper body
19:    lower and upper and foot
20:    lower, upper, hand and foot
   *Return values only

See Also