#include "script_component.hpp" /* * Author: Glowbal * Check if unit has a mine detector in hands * * Arguments: * 0: Unit * * Return Value: * Current weapon is a mine detector * * Example: * [ace_player] call ace_minedetector_fnc_hasDetector * * Public: No */ params ["_unit"]; !(([currentWeapon _unit] call FUNC(getDetectorConfig)) isEqualTo []);