ACE3/addons/goggles/functions/fnc_canWipeGlasses.sqf
JoramD 68fe594cab
Goggles - Add effects only option (#7808)
* Added effects only option to goggles

* Set default back to 2
2020-07-22 10:24:43 -05:00

19 lines
328 B
Plaintext

#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] && {!GETVAR(ACE_player,ACE_isUnconscious,false)} // return