Skip to content

Commit

Permalink
Ace 3 - Save player loadout on arsenal close
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelso-Shaw committed Jun 4, 2024
1 parent a97c32f commit 0997b75
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions initPlayerLocal.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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====================================
Expand Down

0 comments on commit 0997b75

Please sign in to comment.