Difference between revisions of "VN ms fnc respawn addSaveAction"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) (Page filling) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |e= | + | |a= global |
+ | |||
+ | |e= local | ||
|g1= respawn | |g1= respawn | ||
− | |d= | + | |d= Adds action to save the current loadout of the action caller as respawn loadout. Uses [[VN_ms_fnc_respawn_saveLoadout]]. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |s= [savingObject] call [[VN_ms_fnc_respawn_addSaveAction]] |
− | |p1n= | + | |p1n= savingObject |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= object that will receive the save loadout action |
|p1v= | |p1v= | ||
Line 38: | Line 25: | ||
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= function's success |
− | |x1= <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 |
|
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;