BIS fnc ambientPlanes: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "|Game version=" to "|Game version= |gr1 = Ambient |GROUP1=") |
m (Text replacement - "\[\[Category\:Function Group\: Ambient(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\] " to "") |
||
Line 43: | Line 43: | ||
<h3 style="display:none">Bottom Section</h3> | <h3 style="display:none">Bottom Section</h3> | ||
[[Category:{{Name|arma3}}: Functions|{{uc:ambientPlanes}}]] | [[Category:{{Name|arma3}}: Functions|{{uc:ambientPlanes}}]] |
Revision as of 16:43, 11 October 2020
Description
- 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. - Execution:
- call
- 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.
- Groups:
- Ambient
Syntax
- 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/fly
- dirStep: Number - (Optional, default 30)
- Return Value:
- Nothing
Examples
- Example 1:
[] call BIS_fnc_ambientPlanes;
- Example 2:
[30, 3000] call BIS_fnc_ambientPlanes;
Additional Information
- See also:
- createUnit createVehicle BIS_fnc_spawnGroup
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