2023-09-12 18:58:10 +00:00
#include "..\script_component.hpp"
2015-01-18 21:50:45 +00:00
/*
2015-02-02 09:04:53 +00:00
* Author: Garth 'L-H' de Wet
2015-09-29 19:28:57 +00:00
* Removes the glasses effect from the screen, removes dirt effect, removes rain effect, removes dust effect. Does not reset array (glasses will still be broken, dirty, ect.)
2015-02-02 09:04:53 +00:00
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
2015-09-29 19:28:57 +00:00
* call ace_goggles_fnc_removeGlassesEffect
2015-02-02 09:04:53 +00:00
*
* Public: Yes
*/
2015-09-29 19:28:57 +00:00
2015-01-18 21:50:45 +00:00
GVAR(EffectsActive) = false;
GVAR(PostProcess) ppEffectEnable false;
2015-09-29 19:28:57 +00:00
if (!isNull (GLASSDISPLAY)) then {
2015-04-06 16:22:43 +00:00
GLASSDISPLAY closeDisplay 0;
2015-01-18 21:50:45 +00:00
};
2020-07-22 15:24:43 +00:00
if (GVAR(effects) in [2, 3]) then {
2016-06-26 00:16:26 +00:00
call FUNC(removeDirtEffect);
call FUNC(removeRainEffect);
call FUNC(removeDustEffect);
};