Difference between revisions of "VN ms fnc respawn saveLoadout"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
(Page filling)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Wyqer, veteran29
+
|author= Wyqer, veteran29
  
|e=
+
|a= local
 +
 
 +
|e= global
  
 
|g1= respawn
 
|g1= respawn
  
|d= <pre>/*
+
|d= Saves respawn loadout and makes it persistent.
    Author: Wyqer, veteran29
 
    Date: 2019-07-08
 
 
 
    Description:
 
        Saves respawn loadout and makes it persistent.
 
 
 
    Parameter(s):
 
        _unit - Unit to save lodout for [OBJECT, defaults to player]
 
        _hint - Should hint about loadout being saved be shown [BOOL, defaults to true]
 
 
 
    Returns:
 
        Function reached the end [BOOL]
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[vn_ms_fnc_respawn_saveLoadout]];
+
|s= [unit, debugHint] call [[VN_ms_fnc_respawn_saveLoadout]]
  
|p1n=
+
|p1n= unit
|p1t=
+
|p1t= object
|p1d=
+
|p1d= unit to save loadout
|p1v=
+
|p1v= {{Biki|player}}
  
|p2n=
+
|p2n= debugHint
|p2t=
+
|p2t= boolean
|p2d=
+
|p2d= debug hint about loadout being saved
|p2v=
+
|p2v= true
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= function's success
  
|x1= <code>-</code>
+
|x1= <code>[player, false] call [[VN_ms_fnc_respawn_saveLoadout]];</code>
 
}}
 
}}

Latest revision as of 22:15, 25 February 2021

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

Description

Saves respawn loadout and makes it persistent.

Syntax

Syntax
[unit, debugHint] call VN_ms_fnc_respawn_saveLoadout
Parameters
unit: Object - (Optional, default player) unit to save loadout
debugHint: Boolean - (Optional, default true) debug hint about loadout being saved
Return value
Boolean - function's success

Examples

Example 1
[player, false] call VN_ms_fnc_respawn_saveLoadout;