countType: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
[[Category:Scripting Commands|COUNTTYPE]]
[[Category:Scripting Commands|COUNTTYPE]]
[[Category:Scripting Commands OFP 1.97|COUNTTYPE]]
[[Category:Scripting Commands OFP 1.96|COUNTTYPE]]
[[Category:Scripting Commands OFP 1.46|COUNTTYPE]]
[[Category:Scripting Commands OFP 1.46|COUNTTYPE]]
[[Category:Scripting Commands ArmA|COUNTTYPE]]
[[Category:Scripting Commands ArmA|COUNTTYPE]]

Revision as of 20:07, 1 June 2006


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