VN_ms_fnc_spawnAmbHeli
Jump to navigation
Jump to search
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Spawn a helicopter (50m) in the air near a given position and let it fly away (towards [0,0,0]). The helicopter and its crew get deleted when 2000m away from their spawn position.
Syntax
- Syntax
- [heliClass, pos] call VN_ms_fnc_spawnAmbHeli
- Parameters
- heliClass: String - helicopter's classname
- pos: Array - spawn position
- Return value
- Boolean - function's success
Examples
- Example 1
["VN_B_air_UH1D_01_02", getPos player] call VN_ms_fnc_spawnAmbHeli;