Difference between revisions of "VN ms module fnc vehicleRespawn add"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
m (Text replacement - "[[vn_" to "[[VN_")
Line 34: Line 34:
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
  
|s= [] call [[vn_ms_module_fnc_vehicleRespawn_add]]
+
|s= [] call [[VN_ms_module_fnc_vehicleRespawn_add]]
  
 
|p1n=
 
|p1n=

Revision as of 17:30, 23 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): unknown

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
-