mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
6ba46ffa90
* Maptools cleanup * Changed conditions to check * Minor cleanup + fix
24 lines
461 B
Plaintext
24 lines
461 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: esteldunedain
|
|
* Returns if the map tools can be used.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* Map tools can be used <BOOL>
|
|
*
|
|
* Example:
|
|
* call ace_maptools_fnc_canUseMapTools
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
visibleMap &&
|
|
{alive ACE_player} &&
|
|
{!GVAR(mapTool_isDragging)} &&
|
|
{!GVAR(mapTool_isRotating)} &&
|
|
{ACE_player getSlotItemName TYPE_MAP != ""} &&
|
|
{[ACE_player, "ACE_MapTools"] call EFUNC(common,hasItem)}
|