ACE3/addons/goggles/functions/fnc_removeRainEffect.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

24 lines
367 B
Plaintext

#include "..\script_component.hpp"
/*
* 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
*/
if (!isNull GVAR(RainDrops)) then {
deleteVehicle GVAR(RainDrops);
};
GVAR(RainActive) = false;
GVAR(RainLastLevel) = 0;