ACE3/addons/maptools/functions/fnc_canUseMapTools.sqf
jonpas 742626ff1a
General - Relative script_component.hpp includes (#9378)
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2023-09-12 20:58:10 +02:00

24 lines
448 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, ""] != ""}