Difference between revisions of "VN ms fnc respawn saveLoadout"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 6: | Line 5: | ||
|author= Wyqer, veteran29 | |author= Wyqer, veteran29 | ||
− | |a= | + | |a= local |
− | |e= | + | |e= global |
|g1= respawn | |g1= respawn | ||
− | |d= | + | |d= Saves respawn loadout and makes it persistent. |
− | |||
− | |||
− | + | |s= [unit, debugHint] call [[VN_ms_fnc_respawn_saveLoadout]] | |
− | |||
− | + | |p1n= unit | |
− | + | |p1t= object | |
− | + | |p1d= unit to save loadout | |
+ | |p1v= {{Biki|player}} | ||
− | + | |p2n= debugHint | |
− | + | |p2t= boolean | |
− | + | |p2d= debug hint about loadout being saved | |
− | + | |p2v= true | |
− | |s | + | |r1t= boolean |
+ | |r1d= function's success | ||
− | + | |x1= <code>[player, false] call [[VN_ms_fnc_respawn_saveLoadout]];</code> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |x1= <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 |
|
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;