ACE3/addons/maptools/functions/fnc_cancelDrawing.sqf

20 lines
353 B
Plaintext
Raw Normal View History

2015-01-15 09:51:18 +00:00
/*
* Author: CAA-Picard
*
* Cancel the drawing of the current line marker
*
* Argument:
* None
*
* Return value:
* Nothing
*/
2015-01-15 21:50:48 +00:00
#include "script_component.hpp"
GVAR(drawing_isDrawing) = false;
if (count GVAR(drawing_tempLineMarker) > 0) then {
deleteMarkerLocal (GVAR(drawing_tempLineMarker) select 0);
2015-01-15 09:51:18 +00:00
};
2015-01-15 21:50:48 +00:00
GVAR(drawing_tempLineMarker) = [];