From Savage Game Design Wiki
Jump to navigation
Jump to search
Description
/*
Author: Wyqer, veteran29
Date: 2019-06-21
Description:
Adds vehicle to VN Vehicle respawn system.
Parameter(s):
_vehicle - Vehicle to respawn [OBJECT, defaults to objNull]
_respawnDelay - Respawn delay in seconds [NUMBER, defaults to 30]
_abandonDistance - Abandon distance [NUMBER, defaults to 1000]
_adandonTime - Abandon time in seconds (0 = disabled)[NUMBER, defaults to 0]
_respawnImmobilized - Respawn when vehicle unable to move [BOOL, defaults to true]
_notification - Notifiy player about respawn [BOOL, defaults to true]
_initCode - Code to be executed upon respawn (args: <old>, <new>) [CODE, defaults to {}]
_name - Name used in respawn notification [STRING, defaults to ""]
Returns:
Vehicle was added to respawn system [BOOL]
*/
(Placeholder description extracted from the function header by LM_exportFunctionsToWiki.sqf)
Syntax
- Syntax
- [] call vn_ms_module_fnc_vehicleRespawn_add;
- Return value
- Nothing
Examples
- Example 1
-