ACE3/addons/maptools/functions/fnc_cancelDrawing.sqf
2015-03-24 01:18:00 -03:00

20 lines
356 B
Plaintext

/*
* Author: esteldunedain
*
* Cancel the drawing of the current line marker
*
* Argument:
* None
*
* Return value:
* Nothing
*/
#include "script_component.hpp"
GVAR(drawing_isDrawing) = false;
if (count GVAR(drawing_tempLineMarker) > 0) then {
deleteMarkerLocal (GVAR(drawing_tempLineMarker) select 0);
};
GVAR(drawing_tempLineMarker) = [];