typeName countType arrayName

Operand types

typeName: String
arrayName: Array

Type of returned value

Description

Count how many vehicles in array are of given type.
For vehicle types see OFPVehicles or ArmAVehicles.

Used In

OFP/ArmA

Example

"Tank" countType list triggerOne
Search OFPEC COMREF