countType

From Bohemia Interactive Community
Revision as of 17:25, 16 April 2006 by Planck (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

back to COMREF

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