mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
300 B
Plaintext
18 lines
300 B
Plaintext
/*
|
|
* Author: commy2
|
|
*
|
|
* Check if the unit has earplugs put in.
|
|
*
|
|
* Argument:
|
|
* A soldier (Object)
|
|
*
|
|
* Return value:
|
|
* Boolean (Bool)
|
|
*/
|
|
|
|
private "_unit";
|
|
|
|
_unit = _this select 0;
|
|
|
|
_unit getVariable ["AGM_hasEarPlugsin", false] || {_unit getVariable ["X39_MedSys_var_hasEarplugs", false]}
|