countType

From Bohemia Interactive Community
Revision as of 20:07, 1 June 2006 by Planck (talk | contribs)
Jump to navigation Jump to search


typeName countType array


Operand types:

typeName: String

array: Array

Type of returned value:

Number

Description:

Count how many vehicles in array are of given type.

For vehicle types see CfgVehicles.


Example:

"Tank" countType list triggerOne