mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced disableUserInput by setDisableUserInputStatus
Makes use of the wrapper around disableUserInput, so it will play nice with others
This commit is contained in:
@ -78,7 +78,7 @@ GVAR(effectTimeBlood) = time;
|
|||||||
GVAR(effectBloodVolumeCC) ppEffectEnable false;
|
GVAR(effectBloodVolumeCC) ppEffectEnable false;
|
||||||
GVAR(effectPainCA) ppEffectEnable false;
|
GVAR(effectPainCA) ppEffectEnable false;
|
||||||
GVAR(effectPainCC) ppEffectEnable false;
|
GVAR(effectPainCC) ppEffectEnable false;
|
||||||
[false] call EFUNC(common,disableUserInput); // @todo, only when disabled?
|
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
|
||||||
};
|
};
|
||||||
|
|
||||||
// Unconsciousness effect
|
// Unconsciousness effect
|
||||||
@ -86,11 +86,11 @@ GVAR(effectTimeBlood) = time;
|
|||||||
GVAR(effectUnconsciousCC) ppEffectEnable true;
|
GVAR(effectUnconsciousCC) ppEffectEnable true;
|
||||||
GVAR(effectUnconsciousRB) ppEffectEnable true;
|
GVAR(effectUnconsciousRB) ppEffectEnable true;
|
||||||
GVAR(effectBlind) = true;
|
GVAR(effectBlind) = true;
|
||||||
[true, true] call EFUNC(common,disableUserInput); // @todo, see above
|
["unconscious", true] call EFUNC(common,setDisableUserInputStatus);
|
||||||
} else {
|
} else {
|
||||||
GVAR(effectUnconsciousCC) ppEffectEnable false;
|
GVAR(effectUnconsciousCC) ppEffectEnable false;
|
||||||
GVAR(effectUnconsciousRB) ppEffectEnable false;
|
GVAR(effectUnconsciousRB) ppEffectEnable false;
|
||||||
[false] call EFUNC(common,disableUserInput); // @todo, see above
|
["unconscious", false] call EFUNC(common,setDisableUserInputStatus);
|
||||||
if (GVAR(effectBlind)) then {
|
if (GVAR(effectBlind)) then {
|
||||||
_strength = 0.78 * (call EFUNC(common,ambientBrightness));
|
_strength = 0.78 * (call EFUNC(common,ambientBrightness));
|
||||||
GVAR(effectBlindingCC) ppEffectEnable true;
|
GVAR(effectBlindingCC) ppEffectEnable true;
|
||||||
|
Reference in New Issue
Block a user