BIS fnc ambientFlyby: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(Shortende example so it would fit into the limits of the page)
m (template:command argument fix)
Line 8: Line 8:
____________________________________________________________________________________________
____________________________________________________________________________________________


| Spawns an air unit that moves from point A to point B, never engaging nor being engaged. It is set as captive and will despawn once it reaches it's destination. |= Description
| Spawns an air unit that moves from point A to point B, never engaging nor being engaged. It is set as captive and will despawn once it reaches it's destination. |DESCRIPTION=
____________________________________________________________________________________________
____________________________________________________________________________________________


| <nowiki>[[0,0,0],[100,100,100],100,"NORMAL","B_Heli_Light_01_F",WEST]</nowiki> call '''BIS_fnc_ambientFlyby'''; |= Syntax
| <nowiki>[[0,0,0],[100,100,100],100,"NORMAL","B_Heli_Light_01_F",WEST]</nowiki> call '''BIS_fnc_ambientFlyby'''; |SYNTAX=


|p1= [[Array]] - Array containing start position where air unit spawns. Format [x,y,z]. |=  
|p1= [[Array]] - Array containing start position where air unit spawns. Format [x,y,z]. |=  
Line 20: Line 20:
|p6= [[Side]] - Side which vehicle belongs to. |=
|p6= [[Side]] - Side which vehicle belongs to. |=


| [[Boolean]] - True if function executed successfully. |= Return value
| [[Boolean]] - True if function executed successfully. |RETURNVALUE=
____________________________________________________________________________________________
____________________________________________________________________________________________


Line 27: Line 27:
____________________________________________________________________________________________
____________________________________________________________________________________________


| |= See also
| |SEEALSO=


}}
}}

Revision as of 12:26, 7 April 2019


Hover & click on the images for description

Description

Description:
Spawns an air unit that moves from point A to point B, never engaging nor being engaged. It is set as captive and will despawn once it reaches it's destination.
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
[[0,0,0],[100,100,100],100,"NORMAL","B_Heli_Light_01_F",WEST] call BIS_fnc_ambientFlyby;
Parameters:
Array - Array containing start position where air unit spawns. Format [x,y,z].
Array - Array containing end position where air unit moves to and despawns. Format [x,y,z].
Number - Height at which air unit will spawn and fly.
String - String detailing speed at which air unit travels. Possible values "LIMITED", "NORMAL" and "FULL".
String - Vehicle classname of air unit to spawn. Viewable in CfgVehicles.
Side - Side which vehicle belongs to.
Return Value:
Boolean - True if function executed successfully.

Examples

Example 1:
ambFlyby = [[200,200,50],[250,250,75]] call BIS_fnc_ambientFlyBy; //Spawns a Littlebird that flies from position 200,200,50 to 250,250,75 at height 100 and Normal speed.
Example 2:
ambFlyby = [getposATL player, getposATL opforUnit, 400, "FULL", "B_Heli_Light_01_Armed_F", WEST] call BIS_fnc_ambientFlyBy;

Additional Information

See also:
See also needed

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

Notes

Bottom Section