UnitItemInSlot
- Parameters
-
whichUnit unit
Target unit.
itemSlot integer
Slot number (zero-based, i.e. 0 to 5).
- comment
Returns a handle to item in slot number
itemSlot
of the specified unit.Returns null otherwise: when there's no item in slot, no slot (less than 6 slots), invalid slot number, invalid unit.
- return type
item
- Source code
native UnitItemInSlot takes unit whichUnit, integer itemSlot returns item
- Source
- unit.j
- wc3modding.com
- UnitItemInSlot