countType: Difference between revisions

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





Revision as of 14:44, 4 May 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