mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2025-07-25 02:54:36 +00:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user