mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
742626ff1a
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
21 lines
387 B
Plaintext
21 lines
387 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: Glowbal
|
|
* Check if unit has a mine detector in hands
|
|
*
|
|
* Arguments:
|
|
* 0: Unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Current weapon is a mine detector <BOOLEAN>
|
|
*
|
|
* Example:
|
|
* [ace_player] call ace_minedetector_fnc_hasDetector
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
params ["_unit"];
|
|
|
|
([currentWeapon _unit] call FUNC(getDetectorConfig)) isNotEqualTo [];
|