VN_ms_module_fnc_vehicleRespawn_respawn

From Savage Game Design Wiki
Revision as of 19:59, 26 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): 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;