mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Respawn - Add save gear event (#7607)
This commit is contained in:
parent
68143cba41
commit
dd0ca9dc84
@ -22,6 +22,7 @@ params ["_unit"];
|
||||
if (ACE_player == _unit && {GVAR(SavePreDeathGear)}) then {
|
||||
_unit setVariable [QGVAR(unitGear), getUnitLoadout _unit];
|
||||
_unit setVariable [QGVAR(activeWeaponAndMuzzle), [currentWeapon _unit, currentMuzzle _unit, currentWeaponMode _unit]];
|
||||
[QGVAR(saveGear), _unit] call CBA_fnc_localEvent;
|
||||
};
|
||||
|
||||
if (missionNamespace getVariable [QGVAR(showFriendlyFireMessage), false]) then {
|
||||
|
Loading…
Reference in New Issue
Block a user