Soldier.countItems 2

Counts how many items with this id the soldier is carrying.


Return value

Return TypeDescription
integerThe number of matching items, zero if none.

Parameters

ParameterTypeDescription
1stringId of the item to count.

Examples

No examples available.


Back to Scripting API