ACE3/addons/goggles/functions/fnc_removeRainEffect.sqf
2015-09-29 21:28:57 +02:00

24 lines
364 B
Plaintext

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