BIS_fnc_ambientPlanes
- Global effect
- Arma 3 v0.50
- First in Take On Helicopters v1.00
Function · Markdown · JSON · original wiki page
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.
Syntax
[quantity, areaRadius, dirStep] call BIS_fnc_ambientPlanes
Parameters:
quantity: Number - (Optional, default 5)areaRadius: Number - (Optional, default 10000) area radius around airports where planes can spawn/flydirStep: Number - (Optional, default 30)
Returns: Nothing
Examples
Example 1
[] call BIS_fnc_ambientPlanes;
Example 2
[30, 3000] call BIS_fnc_ambientPlanes;
Multiplayer
Since this function uses player and its effect is global, this can only be used in singleplayer or executed locally on a player, usually the group leader.