ACE3/addons/maptools/functions/fnc_cancelDrawing.sqf

20 lines
369 B
Plaintext
Raw Normal View History

2015-01-15 09:51:18 +00:00
/*
2015-03-24 04:18:00 +00:00
* Author: esteldunedain
2015-01-15 09:51:18 +00:00
* Cancel the drawing of the current line marker
*
2015-04-07 20:01:44 +00:00
* Arguments:
2015-01-15 09:51:18 +00:00
* None
*
* Return value:
2015-04-07 20:01:44 +00:00
* None
*
* Public: No
2015-01-15 09:51:18 +00:00
*/
2015-01-15 21:50:48 +00:00
#include "script_component.hpp"
GVAR(drawing_isDrawing) = false;
if (count GVAR(drawing_tempLineMarker) > 0) then {
2015-04-07 20:01:44 +00:00
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) = [];