ACE3/addons/goggles/functions/fnc_removeRainEffect.sqf

24 lines
367 B
Plaintext
Raw Permalink Normal View History

#include "..\script_component.hpp"
/*
* 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
*/
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;