Update EPOCH_server_createGlobalMarkerSet.sqf

Prepended EPOCH_ to global marker names and removed the second underscore in the default setting for marker name
This commit is contained in:
Grahame
2017-10-19 11:28:45 -04:00
committed by GitHub
parent 8f4420f88d
commit 4d26f9c858

View File

@ -53,7 +53,7 @@ _return = [];
{ {
// double check all, use these defaults if not defined // double check all, use these defaults if not defined
_x params [ _x params [
["_mName",format["globalMarker__%1", Epoch_markerCounterGlobal]], ["_mName",format["EPOCH_globalMarker_%1", Epoch_markerCounterGlobal]],
["_mShape","ICON"], ["_mShape","ICON"],
["_mType","hd_dot"], ["_mType","hd_dot"],
["_mColor","ColorBlack"], ["_mColor","ColorBlack"],
@ -62,7 +62,7 @@ _return = [];
["_mDir",0], ["_mDir",0],
["_mText",""] ["_mText",""]
]; ];
_mName = format["globalMarker_%1", Epoch_markerCounterGlobal]; _mName = format["EPOCH_globalMarker_%1", Epoch_markerCounterGlobal];
_marker = createMarker [_mName, _mPos]; _marker = createMarker [_mName, _mPos];
_return pushBack _mName; _return pushBack _mName;
_mName setMarkerShape _mShape; _mName setMarkerShape _mShape;
@ -88,4 +88,4 @@ _return = [];
Epoch_markerCounterGlobal = Epoch_markerCounterGlobal + 1; Epoch_markerCounterGlobal = Epoch_markerCounterGlobal + 1;
}forEach _markerArray; }forEach _markerArray;
_return _return