ACE3/addons/goggles/functions/fnc_removeDirtEffect.sqf

21 lines
383 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
/*
* Author: Garth 'L-H' de Wet
* Removes dirt from the glasses.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
2015-09-29 19:28:57 +00:00
* call ace_goggles_fnc_removeDirtEffect
*
* Public: Yes
*/
2015-09-29 19:28:57 +00:00
if (!isNull (GETUVAR(GVAR(DisplayEffects),displayNull))) then {
(GETUVAR(GVAR(DisplayEffects),displayNull) displayCtrl 10660) ctrlSetText "";
};