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.

patch

1.17a

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