Jump to content
Sign in to follow this  
1para{god-father}

Key Points

Recommended Posts

OK having a slight issue with KeyPoints in my Terrain.

They all show fine on the map - and in game I can see all the names fine as well - BUT

To test Populating my Terrain I am creating a Marker around every Village Town etc .. that i have named so far but for some reason a few have no marker Size - it like the KP size is set to 0 where i is not ?

In TB they have been set to the correct Size - They do get listed below as I spawned a man in each marker and they show in the correct place but the marker cannot been seen due to it being 0/0

Any idea why some KP do not get the correct size ?

{
  _town = text _x;

   _sizeX = getNumber (configFile >> "CfgWorlds" >> worldName >> "Names" >> (text _x) >> "radiusA");
   _sizeY = getNumber (configFile >> "CfgWorlds" >> worldName >> "Names" >> (text _x) >> "radiusB");

   _name = format["mrk_%1", _town];
   _foo = createmarker [_name, getPos _x];
   _foo setMarkerSize [_sizeX, _sizeY];
   _foo setMarkerShape "ELLIPSE";
   _foo setMarkerBrush "SOLID";
   _foo setMarkerColor "ColorRed";

} forEach nearestLocations [getArray (configFile >> "CfgWorlds" >> worldName >> "centerPosition"), ["NameCityCapital","NameLocal","NameCity","NameVillage","Strategic","CityCenter","NameMarine","Hill","StrongpointArea","VegetationPalm","Airport"], 25000];  




Edited by 1PARA{God-Father}

Share this post


Link to post
Share on other sites

Still having this issue any idea's out there on why in TB it is not getting the correct Size of a Key-point radius ?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×