{"name":"allAirports","operator":null,"title":"allAirports","type":"command","url":"https://community.bistudio.com/wiki/allAirports","revid":377737,"updated":"2026-01-03T00:52:41Z","groups":["Roads and Airports"],"status":"ok","replaced_by":[],"games":[{"game":"arma3","name":"Arma 3","version":"1.76"}],"since":{"game":"arma3","name":"Arma 3","version":"1.76"},"arma3_since":"1.76","branch":null,"locality":{"argument":null,"effect":null,"server_exec":false},"exec":null,"description":"Returns all map airports, both static and dynamic.","syntaxes":[{"syntax":"allAirports","since":null,"effect":null,"exec":null,"params":[],"returns":{"type":"Array with [staticAirports, dynamicAirports]","types":["Array"],"description":"staticAirports: Array of Numbers - static airports IDs - dynamicAirports: Array of Objects - dynamic airports objects (such as \"DynamicAirport_01_F\" found on aircraft carrier)","text":"Array with [staticAirports, dynamicAirports]\n- staticAirports: Array of Numbers - static airports IDs\n- dynamicAirports: Array of Objects - dynamic airports objects (such as \"DynamicAirport_01_F\" found on aircraft carrier)"},"form":"nullary","operator":null,"left":null,"right":null}],"examples":[{"text":"```sqf\n_airplane landAt selectRandom (allAirports select 0);\n```","code":["_airplane landAt selectRandom (allAirports select 0);"]}],"multiplayer":null,"problems":null,"aliases":[],"see_also":["airportSide","setAirportSide","land","landAt","assignToAirport","Arma: Airport IDs"],"notes":[],"categories":["Arma 3: New Scripting Commands","Arma 3: Scripting Commands","Command Group: Roads and Airports","Introduced with Arma 3 version 1.76","Scripting Commands"]}