From Bohemia Interactive Community
					 
					
					
					
					
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 its destination.
 
- Execution:
 
- call
 - Groups:
 
- Ambient
 
Syntax
- Syntax:
 
- [startPos, endPos, altitude, speedMode, classname, side] call BIS_fnc_ambientFlyby
 - Parameters:
 
- startPos: Position - start position of the air unit. The Z value does not matter and is replaced by altitude
 
- endPos: Array format PositionAGL - end position where the air unit moves to and despawns (through addWaypoint)
 
- altitude: Number - (Optional, default 100) height at which air unit will spawn and fly above ground level
 
- speedMode: String - (Optional, default "NORMAL") speed mode at which air unit travels. Possible values are "LIMITED", "NORMAL" and "FULL"
 
- classname: String - (Optional, default "B_Heli_Light_01_F") vehicle classname defined in CfgVehicles
 
- side: Side - (Optional, default west) side to which the vehicle belongs
 - Return Value:
 
- Boolean - true if function executed successfully.
 
Examples
- Example 1:
 - Example 2:
 
Additional Information
- See also:
 
- createVehicle BIS_fnc_spawnVehicle
 
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