UnitInventorySize

Parameters
whichUnit unit

Target unit

comment

Returns amount of inventory slots for unit (0 to bj_MAX_INVENTORY inclusive). Returns zero if unit is invalid or has no inventory.

return type
integer
Source code
native UnitInventorySize takes unit whichUnit returns integer
Source
unit.j
wc3modding.com
UnitInventorySize