ACE3/addons/goggles/functions/fnc_canWipeGlasses.sqf
2019-12-18 18:30:53 +01:00

19 lines
323 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) == 2 && {!GETVAR(ACE_player,ACE_isUnconscious,false)} // return