Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _n = format["marker_%1",str(_forEachIndex )];
- _markerstr = createMarker [_n,getpos _x];
- _markerstr setMarkerShape "ICON";
- _markerstr setMarkerType "c_unknown";
- _markerstr setMarkerText format["%1",str(name _x )];
- _locationName = (text _x);
- _radA = getNumber(configfile >> "CfgWorlds" >> worldName >> "Names" >> _locationName >> "radiusA");
- _radB = getNumber(configfile >> "CfgWorlds" >> worldName >> "Names" >> _locationName >> "radiusB");
- systemchat str _radA;
- _s = format["marker_%1_area",str(_forEachIndex )];
- _areamarkerstr = createMarker [_s, getpos _x];
- _areamarkerstr setMarkerShape "ELLIPSE";
- _areamarkerstr setMarkerSize [_radA,_radB];
- _areamarkerstr setMarkerBrush "Cross";
- _areamarkerstr setMarkerColor "ColorYellow";
- } forEach nearestLocations [player, ["NameCity","NameCityCapital","NameVillage"], 500000];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement