ACE3/addons/goggles/functions/fnc_removeRainEffect.sqf

24 lines
364 B
Plaintext
Raw Normal View History

/*
* Author: Garth 'L-H' de Wet
* Removes rain effects from the screen.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
2015-09-29 19:28:57 +00:00
* call ace_goggles_fnc_removeRainEffect
*
* Public: Yes
*/
#include "script_component.hpp"
2015-09-29 19:28:57 +00:00
if (!isNull GVAR(RainDrops)) then {
deleteVehicle GVAR(RainDrops);
};
2015-09-29 19:28:57 +00:00
GVAR(RainActive) = false;
GVAR(RainLastLevel) = 0;