Vn_ms_module_fnc_vehicleRespawn_add

From Savage Game Design Wiki
Revision as of 21:34, 4 May 2022 by Slow (talk | contribs) (Created page with "{{Function |v= 1.00 |author=Wyqer, veteran29 |a= |e= |g1= VehicleRespawn |d= <pre>Adds vehicle to VN Vehicle respawn system.</pre> |s= [_vehicle,_respawnDelay,_abandonDis...")
(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): unknown

Description

Adds vehicle to VN Vehicle respawn system.

Syntax

Syntax
[_vehicle,_respawnDelay,_abandonDistance,_adandonTime,_respawnImmobilized,_notification,_initCode,_name] call vn_ms_module_fnc_vehicleRespawn_add;
Parameters
_vehicle: Object - (Optional, default objNull) Vehicle to respawn
_respawnDelay: Number - (Optional, default 30) Respawn delay in seconds
_abandonDistance: Number - (Optional, default 1000) Abandon distance
_adandonTime: Number - (Optional, default 0) Abandon time in seconds (0 = disabled)
_respawnImmobilized: Boolean - (Optional, default true) Respawn when vehicle unable to move
_notification: Boolean - (Optional, default true) Notifiy player about respawn
_initCode: Code - (Optional, default {}) Code to be executed upon respawn (args: <old>, <new>)
_name: String - (Optional, default "") Name used in respawn notification
Return value
Boolean - Vehicle was added to respawn system