ACE3/addons/minedetector/functions/fnc_activateDetector.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

21 lines
342 B
Plaintext

#include "..\script_component.hpp"
/*
* Author: Glowbal
* Activate the mine detector
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* [] call ace_minedetector_fnc_activateDetector
*
* Public: No
*/
if (call FUNC(canActivateDetector)) then {
[ACE_player, currentWeapon ACE_player] call FUNC(enableDetector);
};