VN_ms_fnc_spawnAmbHeli

From Savage Game Design Wiki
Revision as of 13:11, 22 February 2021 by Lou Montana (talk | contribs) (Page filling)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): global

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;