mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add player event handler to fix zeus problems with effects (#5022)
This commit is contained in:
parent
dab9772d03
commit
79047bd2e7
@ -15,3 +15,10 @@ GVAR(heartBeatEffectRunning) = false;
|
||||
[_unconscious, 1] call FUNC(effectUnconscious);
|
||||
["unconscious", _unconscious] call EFUNC(common,setDisableUserInputStatus);
|
||||
}] call CBA_fnc_addEventHandler;
|
||||
|
||||
["unit", {
|
||||
params ["_new", "_old"];
|
||||
private _status = _new getVariable ["ace_unconscious", false];
|
||||
[_status, 0] call FUNC(effectUnconscious);
|
||||
["unconscious", _status] call EFUNC(common,setDisableUserInputStatus);
|
||||
}] call CBA_fnc_addPlayerEventHandler;
|
||||
|
Loading…
Reference in New Issue
Block a user