Difference between revisions of "VN ms fnc respawn addSaveAction"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "]]; |p1n=" to "]] |p1n=")
(Page filling)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 6: Line 5:
 
|author= Wyqer, veteran29
 
|author= Wyqer, veteran29
  
|a=
+
|a= global
  
|e=
+
|e= local
  
 
|g1= respawn
 
|g1= respawn
  
|d= <pre>/*
+
|d= Adds action to save the current loadout of the action caller as respawn loadout. Uses [[VN_ms_fnc_respawn_saveLoadout]].
    Author: Wyqer, veteran29
 
    Date: 2019-09-16
 
  
    Description:
+
|s= [savingObject] call [[VN_ms_fnc_respawn_addSaveAction]]
        Adds action to save the current loadout of the action caller as respawn loadout.
 
  
    Parameter(s):
+
|p1n= savingObject
        _object - Object to add the action for loadout saving [OBJECT, defaults to objNull]
+
|p1t= object
 
+
|p1d= object that will receive the save loadout action
    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_addSaveAction]]
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
Line 40: Line 25:
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= boolean
|r1d=
+
|r1d= function's success
  
|x1= <code>-</code>
+
|x1= <code>[sogCrate] call [[VN_ms_fnc_respawn_addSaveAction]];</code>
 
}}
 
}}

Latest revision as of 22:06, 25 February 2021

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

Description

Adds action to save the current loadout of the action caller as respawn loadout. Uses VN_ms_fnc_respawn_saveLoadout.

Syntax

Syntax
[savingObject] call VN_ms_fnc_respawn_addSaveAction
Parameters
savingObject: Object - object that will receive the save loadout action
Return value
Boolean - function's success

Examples

Example 1
[sogCrate] call VN_ms_fnc_respawn_addSaveAction;