UnitItemInSlot
- Parameters
whichUnit unitTarget unit.
itemSlot integerSlot number (zero-based, i.e. 0 to 5).
- comment
Returns a handle to item in slot number
itemSlotof the specified unit.Returns null otherwise: when there's no item in slot, no slot (less than 6 slots), invalid slot number, invalid unit.
- patch
1.00
- Source
- common.j (raise an issue to discuss on Github or submit a PR)
- return type
item- Source code
native UnitItemInSlot takes unit whichUnit, integer itemSlot returns item