mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
22 lines
340 B
Plaintext
22 lines
340 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Activate the mine detector
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* [] call ace_minedetector_fnc_activateDetector
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
#include "script_component.hpp"
|
|
|
|
if (call FUNC(canActivateDetector)) then {
|
|
[ACE_player, currentWeapon ACE_player] call FUNC(enableDetector);
|
|
};
|