allAirports: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Bot: Reverted to revision 104420 by jonpas on 2017-09-13T18:44:22Z)
m (template:command argument fix)
Line 6: Line 6:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Returns all map airports, both static and dynamic |= Description
| Returns all map airports, both static and dynamic |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| '''allAirports''' |= Syntax
| '''allAirports''' |SYNTAX=


| [[Array]] - in format [staticAirports, dynamicAirports], where:
| [[Array]] - in format [staticAirports, dynamicAirports], where:
* staticAirports [[Array]] of [[Number]]s - static airports IDs
* staticAirports [[Array]] of [[Number]]s - static airports IDs
* dynamicAirports [[Array]] of [[Object]]s - dynamic airports objects (such as aircraft carrier)  |= Return value
* dynamicAirports [[Array]] of [[Object]]s - dynamic airports objects (such as aircraft carrier)  |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________
   
   
Line 19: Line 19:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[airportSide]], [[setAirportSide]], [[land]], [[landAt]], [[assignToAirport]] |= See also
| [[airportSide]], [[setAirportSide]], [[land]], [[landAt]], [[assignToAirport]] |SEEALSO=


}}
}}

Revision as of 11:25, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns all map airports, both static and dynamic
Groups:
Uncategorised

Syntax

Syntax:
allAirports
Return Value:
Array - in format [staticAirports, dynamicAirports], where:
  • staticAirports Array of Numbers - static airports IDs
  • dynamicAirports Array of Objects - dynamic airports objects (such as aircraft carrier)

Examples

Example 1:
_allAirports = allAirports;

Additional Information

See also:
airportSidesetAirportSidelandlandAtassignToAirport

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section