countType: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| (\[\[[a-zA-Z ]+\]\]) \|x1=" to " |r1=$1 |x1=") |
Lou Montana (talk | contribs) m (Text replacement - " +" to " ") |
||
Line 32: | Line 32: | ||
<dd class="note">This command can be used on the whole [[ArmA: CfgVehicles|hierarchical class tree]] (i.e. when checking a [[ArmA:_Vehicles#Wheeled|HMMWV]], one could test for "HMMWV50", "Car", "LandVehicle", etc.) | <dd class="note">This command can be used on the whole [[ArmA: CfgVehicles|hierarchical class tree]] (i.e. when checking a [[ArmA:_Vehicles#Wheeled|HMMWV]], one could test for "HMMWV50", "Car", "LandVehicle", etc.) | ||
</dl> | </dl> | ||
Revision as of 22:45, 10 June 2021
Description
- Description:
- Description needed
- Groups:
- Object Detection
Syntax
- Syntax:
- Syntax needed
- Parameters:
- type: String - class type
- objects: Array - array of Objects
- Return Value:
- Number
Examples
- Example 1:
_count = "Tank" countType list _triggerOne;
- Example 2:
_count = "B_medic_F" countType units player;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on April 23, 2007 - 16:34
- Kronzky
- This command can be used on the whole hierarchical class tree (i.e. when checking a HMMWV, one could test for "HMMWV50", "Car", "LandVehicle", etc.)