VN_ms_module_fnc_vehicleRespawn_respawn

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): global

Description

Respawns given vehicle.

Syntax

Syntax
[vehicle, initCode] call VN_ms_module_fnc_vehicleRespawn_respawn
Parameters
vehicle: Object - vehicle to respawn
initCode: Code - (Optional, default {}) code to execute upon vehicle respawn
Return value
Object - the new vehicle

Examples

Example 1
[sogJeep, { hint "respawned!"; }] call VN_ms_module_fnc_vehicleRespawn_respawn;