Difference between revisions of "VN ms fnc respawn saveLoadout"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
− | |e= | + | |a= local |
+ | |||
+ | |e= global | ||
|g1= respawn | |g1= respawn | ||
− | |d= | + | |d= Saves respawn loadout and makes it persistent. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[ | + | |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> | + | |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 |
|
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;