GetAirbasesInZone
Appearance
| 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 |
| airBaseType | Number AIRDROME = 0, HELIPAD = 1, SHIP = 2 or -1 for all types DEFAULT = -1 | |
| zoneName | Name 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: | ||