2016-10-22 21:15:11 +00:00
|
|
|
////////////////////////////////////////////
|
|
|
|
// Create, delete and change Mission Markers
|
2017-08-04 11:21:03 +00:00
|
|
|
// 8/3/17
|
2016-10-22 21:15:11 +00:00
|
|
|
// by Ghostrider-DbD-
|
|
|
|
//////////////////////////////////////////
|
|
|
|
// spawn a temporary marker to indicate the position of a 'completed' mission
|
|
|
|
|
|
|
|
private["_location","_MainMarker","_name"];
|
|
|
|
_location = _this select 0;
|
|
|
|
_name = str(random(1000000)) + "MarkerCleared";
|
|
|
|
_MainMarker = createMarker [_name, _location];
|
|
|
|
_MainMarker setMarkerColor "ColorBlack";
|
|
|
|
_MainMarker setMarkerType "n_hq";
|
|
|
|
_MainMarker setMarkerText "Mission Cleared";
|
|
|
|
uiSleep 300;
|
|
|
|
deleteMarker _MainMarker;
|
2017-08-04 11:21:03 +00:00
|
|
|
|