Advertisement
zSkullfox

location

Sep 20th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.83 KB | None | 0 0
  1. _n = format["marker_%1",str(_forEachIndex )];
  2.  
  3. _markerstr = createMarker [_n,getpos _x];
  4. _markerstr setMarkerShape "ICON";
  5. _markerstr setMarkerType "c_unknown";
  6. _markerstr setMarkerText format["%1",str(name _x )];
  7.  
  8.  
  9.  
  10.  
  11. _locationName = (text _x);
  12. _radA = getNumber(configfile >> "CfgWorlds" >> worldName >> "Names" >> _locationName >> "radiusA");
  13. _radB = getNumber(configfile >> "CfgWorlds" >> worldName >> "Names" >> _locationName >> "radiusB");
  14.  
  15. systemchat str _radA;
  16.  
  17. _s = format["marker_%1_area",str(_forEachIndex )];
  18. _areamarkerstr = createMarker [_s, getpos _x];
  19. _areamarkerstr setMarkerShape "ELLIPSE";
  20. _areamarkerstr setMarkerSize [_radA,_radB];
  21. _areamarkerstr setMarkerBrush "Cross";
  22. _areamarkerstr setMarkerColor "ColorYellow";
  23.  
  24. } forEach nearestLocations [player, ["NameCity","NameCityCapital","NameVillage"], 500000];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement