ACE3/addons/hearing/functions/fnc_hasEarPlugsIn.sqf

19 lines
269 B
Plaintext
Raw Normal View History

/*
* Author: commy2
*
* Check if the unit has earplugs put in.
2015-01-13 04:17:52 +00:00
*
* Argument:
* A soldier (Object)
2015-01-13 04:17:52 +00:00
*
* Return value:
* Boolean (Bool)
*/
2015-01-14 01:41:53 +00:00
#include "script_component.hpp"
private "_unit";
_unit = _this select 0;
2015-01-13 04:17:52 +00:00
_unit getVariable ["ACE_hasEarPlugsin", false]