ACE3/addons/goggles/functions/fnc_removeDustEffect.sqf

20 lines
379 B
Plaintext
Raw Normal View History

/*
* Author: Garth 'L-H' de Wet
* Removes dust from the glasses.
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* call ace_goggles_fnc_removeDustEffect;
*
* Public: Yes
*/
#include "script_component.hpp"
if (!isNull(GETUVAR(GVAR(DisplayEffects),displayNull))) then {
(GETUVAR(GVAR(DisplayEffects),displayNull) displayCtrl 10662) ctrlSetText "";
};