ACE3/addons/map/functions/fnc_cancelDrawing.sqf
2015-01-15 15:50:48 -06:00

20 lines
353 B
Plaintext

/*
* Author: CAA-Picard
*
* 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) = [];