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