mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #2036 from acemod/mapToolsOnOtherMaps
MapTools work on children of itemMap
This commit is contained in:
commit
7c7fb35cee
@ -14,7 +14,13 @@
|
|||||||
|
|
||||||
visibleMap &&
|
visibleMap &&
|
||||||
{alive ACE_player} &&
|
{alive ACE_player} &&
|
||||||
{"ItemMap" in (assignedItems ACE_player)} &&
|
{
|
||||||
|
scopeName "hasMap";
|
||||||
|
{
|
||||||
|
if (_x isKindOf ["ItemMap", configFile >> "CfgWeapons"]) exitWith {true breakOut "hasMap"};
|
||||||
|
} forEach (assignedItems ACE_player);
|
||||||
|
false
|
||||||
|
} &&
|
||||||
{"ACE_MapTools" in (items ACE_player)} &&
|
{"ACE_MapTools" in (items ACE_player)} &&
|
||||||
{!GVAR(mapTool_isDragging)} &&
|
{!GVAR(mapTool_isDragging)} &&
|
||||||
{!GVAR(mapTool_isRotating)}
|
{!GVAR(mapTool_isRotating)}
|
||||||
|
Loading…
Reference in New Issue
Block a user