ACE3/addons/maptools/functions/fnc_canUseMapTools.sqf

24 lines
445 B
Plaintext
Raw Normal View History

#include "script_component.hpp"
2015-04-07 20:01:44 +00:00
/*
* Author: esteldunedain
* canUseMapTools
*
* Arguments:
* None
*
2016-06-18 09:50:41 +00:00
* Return Value:
* Boolean <BOOL>
*
* Example:
* call ACE_maptools_fnc_canUseMapTools
2015-04-07 20:01:44 +00:00
*
* Public: No
*/
2015-01-15 21:50:48 +00:00
2015-01-15 09:51:18 +00:00
visibleMap &&
2015-01-17 19:04:48 +00:00
{alive ACE_player} &&
{"ACE_MapTools" in (ACE_player call EFUNC(common,uniqueItems))} &&
2015-01-15 21:50:48 +00:00
{!GVAR(mapTool_isDragging)} &&
{!GVAR(mapTool_isRotating)} &&
{getUnitLoadout ACE_player param [9, []] param [0, ""] != ""}