Arma 3 Scripting

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:

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.

See also

createUnit · createVehicle · BIS_fnc_spawnGroup