Jump to content

CoalitionPlayersAirbourne

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (CoalitionPlayersAirbourne – created via PowerShell script (2025-11-11T21:12:13Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: CoalitionPlayersAirbourne
Function Description: Returns boolean based on if the unit supplied has a playername or not.
File Location: cmm.DCSFunctions.lua
Syntax: CMM.CoalitionPlayersAirbourne( number or nil coal , table or nil airframeBL )
Return Value: number
Parameters: Name Description
coalOptional coalition number (1 = Red, 2 = Blue). Defaults to nil and that returns both coalitions airbourne.
airframeBLOptional Airframe blacklist, if a player is in this specific type of airframe do not include them in the count
Example: CMM.CoalitionPlayersAirbourne(2,{"A10C_II","AH-64D_BLK_II"})
Example Description: This will return the number of players airbourne for the Blue team that are not flying the A10C_II or the AH-64D_BLK_II airframes
Related Functions:
Notes: