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
23 lines
447 B
Plaintext
23 lines
447 B
Plaintext
#include "..\script_component.hpp"
|
|
/*
|
|
* Author: LorenLuke
|
|
* Returns if the plotting board can be used.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* Plotting board can be used <BOOL>
|
|
*
|
|
* Example:
|
|
* call ace_maptools_fnc_canUsePlottingBoard
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
visibleMap &&
|
|
{alive ACE_player} &&
|
|
{!GVAR(plottingBoard_isDragging)} &&
|
|
{GVAR(plottingBoard_isRotating) == -1} &&
|
|
{[ACE_player, "ACE_PlottingBoard"] call EFUNC(common,hasItem)}
|