2015-01-18 21:50:45 +00:00
|
|
|
/*
|
2015-02-02 09:04:53 +00:00
|
|
|
* Author: Garth 'L-H' de Wet
|
2015-04-06 16:22:43 +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:
|
|
|
|
* call ace_goggles_fnc_removeGlassesEffect;
|
|
|
|
*
|
|
|
|
* Public: Yes
|
|
|
|
*/
|
2015-01-18 21:50:45 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
GVAR(EffectsActive) = false;
|
|
|
|
GVAR(PostProcess) ppEffectEnable false;
|
|
|
|
|
|
|
|
if (!isNull(GLASSDISPLAY)) then {
|
2015-04-06 16:22:43 +00:00
|
|
|
GLASSDISPLAY closeDisplay 0;
|
2015-01-18 21:50:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
call FUNC(removeDirtEffect);
|
|
|
|
call FUNC(removeRainEffect);
|
|
|
|
call FUNC(removeDustEffect);
|