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

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "[[vn_" to "[[VN_")
(Page filling)
 
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Wyqer, veteran29
 
|author= Wyqer, veteran29
  
|a=
+
|a= global
  
|e=
+
|e= global
  
 
|g1= VehicleRespawn
 
|g1= VehicleRespawn
  
|d= <pre>/*
+
|d= Replaces wreck with a new object (in order to prevent interferences/issues with BIS respawn).
    Author: Wyqer, veteran29
 
    Date: 2019-06-23
 
  
    Description:
+
|s= [wreck] call [[VN_ms_module_fnc_vehicleRespawn_replaceWreck]]
        Replace wreck as new object to prevent issues with BIS respawn.
 
  
    Parameter(s):
+
|p1n= wreck
        _vehicle - Wreck to replace [DATATYPE, defaults to DEFAULTVALUE]
+
|p1t= object
 
+
|p1d= wreck to be replaced
    Returns:
 
        Vehicle was replaced with wreck [BOOL]
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[VN_ms_module_fnc_vehicleRespawn_replaceWreck]]
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
Line 39: Line 25:
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= function's success
  
|x1= <code>-</code>
+
|x1= <code>[destroyedSogJeep] call [[VN_ms_module_fnc_vehicleRespawn_replaceWreck]]</code>
 
}}
 
}}

Latest revision as of 19:55, 26 February 2021

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

Description

Replaces wreck with a new object (in order to prevent interferences/issues with BIS respawn).

Syntax

Syntax
[wreck] call VN_ms_module_fnc_vehicleRespawn_replaceWreck
Parameters
wreck: Object - wreck to be replaced
Return value
Boolean - function's success

Examples

Example 1
[destroyedSogJeep] call VN_ms_module_fnc_vehicleRespawn_replaceWreck