ACE3/addons/minedetector/functions/fnc_activateDetector.sqf

21 lines
342 B
Plaintext
Raw Normal View History

#include "..\script_component.hpp"
2016-05-03 20:37:02 +00:00
/*
* 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);
};