Jump to content

IsCoalitionNumber

From CMM Wiki
Revision as of 10:12, 11 November 2025 by Ozdeadmeat (talk | contribs) (IsCoalitionNumber – created via PowerShell script (2025-11-11T21:12:03Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: IsCoalitionNumber
Function Description: Determines whether the supplied coalition ID is one of the valid DCS sides (NEUTRAL, RED, or BLUE).
File Location: cmm.DCSFunctions.lua
Syntax: CMM.IsCoalitionNumber( number: CoalitionID )
Return Value:
Parameters: Name Description
CoalitionIDCoalition number
Example: local ok = CMM.IsCoalitionNumber(coalition.side.RED)
Example Description: Returns true if the argument is a valid coalition side; otherwise false.
Related Functions:
Notes: