blckeagles-revisited-RC/MPMissions/Exile.Altis/debug/missionCompleteMarker.sqf
Ghostrider-DbD- a55111c871 See Changelog
2017-10-18 22:31:53 -04:00

20 lines
757 B
Plaintext

////////////////////////////////////////////
// Create, delete and change Mission Markers
// 7/10/15
// by Ghostrider-DbD-
//////////////////////////////////////////
// spawn a temporary marker to indicate the position of a 'completed' mission
// this will not show to JIP players
private["_location","_MainMarker","_name"];
diag_log format["blck_fnc_missionCompleteMarker:: _this = %1",_this];
_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;
diag_log format["missionCompleteMarker complete script for _this = %1",_this];