mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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} &&
|
||
|
{[ACE_player, "ACE_PlottingBoard"] call EFUNC(common,hasItem)} &&
|
||
|
{!GVAR(plottingBoard_isDragging)} &&
|
||
|
{GVAR(plottingBoard_isRotating) == -1}
|