Jump to content

GetAirbasesInZone

From CMM Wiki
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: