{"name":"BIS_fnc_ambientPlanes","operator":null,"title":"BIS fnc ambientPlanes","type":"function","url":"https://community.bistudio.com/wiki/BIS_fnc_ambientPlanes","revid":378072,"updated":"2026-02-11T08:03:13Z","groups":["Ambient"],"status":"ok","replaced_by":[],"games":[{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},{"game":"arma3","name":"Arma 3","version":"0.50"}],"since":{"game":"tkoh","name":"Take On Helicopters","version":"1.00"},"arma3_since":"0.50","branch":null,"locality":{"argument":null,"effect":"global","server_exec":false},"exec":null,"description":"Creates ambient airplanes fly-by near airports around the player. It will automatically get classes from `configFile >> \"CfgVehicles\"` on all planes that have \"ambientType\" attribute > 0.","syntaxes":[{"syntax":"[quantity, areaRadius, dirStep] call BIS_fnc_ambientPlanes","since":null,"effect":null,"exec":null,"params":[{"name":"quantity","type":"Number","optional":true,"default":"5","description":null,"types":["Number"],"since":null,"text":"quantity: Number - (Optional, default 5)"},{"name":"areaRadius","type":"Number","optional":true,"default":"10000","description":"area radius around airports where planes can spawn/fly","types":["Number"],"since":null,"text":"areaRadius: Number - (Optional, default 10000) area radius around airports where planes can spawn/fly"},{"name":"dirStep","type":"Number","optional":true,"default":"30","description":null,"types":["Number"],"since":null,"text":"dirStep: Number - (Optional, default 30)"}],"returns":{"type":"Nothing","types":["Nothing"],"description":null,"text":"Nothing"}}],"examples":[{"text":"```sqf\n[] call BIS_fnc_ambientPlanes;\n```","code":["[] call BIS_fnc_ambientPlanes;"]},{"text":"```sqf\n[30, 3000] call BIS_fnc_ambientPlanes;\n```","code":["[30, 3000] call BIS_fnc_ambientPlanes;"]}],"multiplayer":"Since this function uses player and its effect is global,\nthis can only be used in singleplayer or executed locally on a player, usually the group leader.","problems":null,"aliases":[],"see_also":["createUnit","createVehicle","BIS_fnc_spawnGroup"],"notes":[],"categories":["Arma 3: Functions","Function Group: Ambient","Functions","Functions: Global Effect","Introduced with Take On Helicopters version 1.00","Take On Helicopters: Functions","Take On Helicopters: New Functions"],"docblock":null,"filled_from_docblock":[]}