ACE3/addons/hearing/functions/fn_hasEarPlugsIn.sqf
2015-01-13 01:17:52 -03:00

19 lines
291 B
Plaintext

/*
* Author: commy2
*
* Check if the unit has earplugs put in.
*
* Argument:
* A soldier (Object)
*
* Return value:
* Boolean (Bool)
*/
#include "\z\ace\addons\hearing\script_component.hpp"
private "_unit";
_unit = _this select 0;
_unit getVariable ["ACE_hasEarPlugsin", false]