Jump to content

GetAirbasesInZone

From CMM Wiki
Revision as of 12:26, 24 June 2026 by Ozdeadmeat (talk | contribs) (GetAirbasesInZone – created via PowerShell script (2026-06-24T22:26:21Z))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Return to CMM Command Reference
Environment: Mission Scripting
Function: GetAirbasesInZone
Function Description:
File Location: cmm.AirBaseFunctions.lua
Syntax: CMM.GetAirbasesInZone( number airBaseType , number zoneName )
Return Value: table or nil
Parameters: Name Description
airBaseTypeNumber AIRDROME = 0, HELIPAD = 1, SHIP = 2 or -1 for all types DEFAULT = -1
zoneNameName of the zone to check for airbases within.
Example: CMM.GetAirbasesInZone("Zone123")
Example Description: Returns all the airbases that are located within the zone "Zone123" and returns a table of them
Related Functions:
Notes: