mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix medical_feedback override hearing settings (#7744)
This commit is contained in:
parent
a5ba5abb42
commit
56b397ffa7
@ -46,7 +46,8 @@ GVAR(bloodTickCounter) = 0;
|
|||||||
[!_unconscious, _unit] call EFUNC(common,setVolume);
|
[!_unconscious, _unit] call EFUNC(common,setVolume);
|
||||||
|
|
||||||
// Greatly reduce player's hearing ability while unconscious (affects radio addons)
|
// Greatly reduce player's hearing ability while unconscious (affects radio addons)
|
||||||
[QUOTE(ADDON), VOL_UNCONSCIOUS, _unconscious] call EFUNC(common,setHearingCapability);
|
private _volume = missionNamespace getVariable [QEGVAR(hearing,unconsciousnessVolume), VOL_UNCONSCIOUS];
|
||||||
|
[QUOTE(ADDON), _volume, _unconscious] call EFUNC(common,setHearingCapability);
|
||||||
|
|
||||||
[true] call FUNC(handleEffects);
|
[true] call FUNC(handleEffects);
|
||||||
["unconscious", _unconscious] call EFUNC(common,setDisableUserInputStatus);
|
["unconscious", _unconscious] call EFUNC(common,setDisableUserInputStatus);
|
||||||
@ -70,7 +71,8 @@ GVAR(bloodTickCounter) = 0;
|
|||||||
|
|
||||||
[!_status, _new] call EFUNC(common,setVolume);
|
[!_status, _new] call EFUNC(common,setVolume);
|
||||||
|
|
||||||
[QUOTE(ADDON), VOL_UNCONSCIOUS, _status] call EFUNC(common,setHearingCapability);
|
private _volume = missionNamespace getVariable [QEGVAR(hearing,unconsciousnessVolume), VOL_UNCONSCIOUS];
|
||||||
|
[QUOTE(ADDON), _volume, _status] call EFUNC(common,setHearingCapability);
|
||||||
[true] call FUNC(handleEffects);
|
[true] call FUNC(handleEffects);
|
||||||
["unconscious", _status] call EFUNC(common,setDisableUserInputStatus);
|
["unconscious", _status] call EFUNC(common,setDisableUserInputStatus);
|
||||||
}] call CBA_fnc_addPlayerEventHandler;
|
}] call CBA_fnc_addPlayerEventHandler;
|
||||||
|
Loading…
Reference in New Issue
Block a user