From 0997b750521ed69f49bd8685a6c33563e3f1d34b Mon Sep 17 00:00:00 2001 From: Kelso <117351531+icabbi-kelso@users.noreply.github.com> Date: Tue, 4 Jun 2024 21:10:26 +0100 Subject: [PATCH] Ace 3 - Save player loadout on arsenal close --- initPlayerLocal.sqf | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/initPlayerLocal.sqf b/initPlayerLocal.sqf index f007550..cf32063 100644 --- a/initPlayerLocal.sqf +++ b/initPlayerLocal.sqf @@ -56,6 +56,17 @@ player addAction [ }; }] call CBA_fnc_addClassEventHandler; +/* +=====================ACE 3 SAVE LOADOUT ON ARSENAL CLOSE==================================== +This allows you to save whatever loadout the player selected after they close the arsenal +so that they may respawn with it. Particularly helpful when you just want the player to +select a loadout and then forget about having to use the arsenal after respawning. +*/ + +// ["ace_arsenal_displayClosed", { +// [player, [missionNamespace, "Waldo_Player_Inventory"]] call BIS_fnc_saveInventory; +// }] call CBA_fnc_addEventHandler; + /* =====================RESPAWN WITH LOADOUT ON DEATH====================================