mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
36ae99b9f3
* allow mod maps and compasses to use map tools * single quotes * Update addons/maptools/CfgVehicles.hpp Co-authored-by: PabstMirror <pabstmirror@gmail.com> * Update addons/maptools/CfgVehicles.hpp Co-authored-by: PabstMirror <pabstmirror@gmail.com>
24 lines
445 B
Plaintext
24 lines
445 B
Plaintext
#include "script_component.hpp"
|
|
/*
|
|
* Author: esteldunedain
|
|
* canUseMapTools
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* Boolean <BOOL>
|
|
*
|
|
* Example:
|
|
* call ACE_maptools_fnc_canUseMapTools
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
visibleMap &&
|
|
{alive ACE_player} &&
|
|
{"ACE_MapTools" in (ACE_player call EFUNC(common,uniqueItems))} &&
|
|
{!GVAR(mapTool_isDragging)} &&
|
|
{!GVAR(mapTool_isRotating)} &&
|
|
{getUnitLoadout ACE_player param [9, []] param [0, ""] != ""}
|