ACE3/addons/goggles/functions/fnc_canWipeGlasses.sqf

19 lines
325 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
/*
* Author: veteran29
* Checks if player can wipe goggles.
*
* Arguments:
* None
*
* Return Value:
* Can wipe goggles <BOOL>
*
* Example:
* [] call ace_goggles_fnc_canWipeGlasses
*
* Public: No
*/
GVAR(effects) in [2, 3] && {ACE_player call EFUNC(common,isAwake)} // return