ACE3/addons/goggles/functions/fnc_removeDustEffect.sqf
2015-02-02 11:04:53 +02:00

20 lines
376 B
Plaintext

/*
* 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 "";
};