ACE3/TO_MERGE/agm/Goggles/functions/fn_RemoveDirtEffect.sqf

21 lines
418 B
Plaintext

/*
Name: AGM_Goggles_fnc_RemoveDirtEffect
Author: Garth de Wet (LH)
Description:
Removes dirt from the glasses.
Parameters:
Nothing
Returns:
Nothing
Example:
call AGM_Goggles_fnc_RemoveDirtEffect;
*/
if (!isNull(uiNamespace getVariable ["AGM_Goggles_DisplayEffects", displayNull])) then {
(uiNamespace getVariable ["AGM_Goggles_DisplayEffects", displayNull] displayCtrl 10660) ctrlSetText "";
};