Chainsaw_Squirrel 2 Posted September 16, 2015 I'm trying to find the position on the map that has traders for epoch chernarus .. I have the pos need a way search and mark the position on the map so I can add some map edits around the traders location, wanting to put walls up , since I don't use safe zones, but want to give some ability to cover players as they trade.But with out a way to search the exact position makes it tuff since I can see those in the editor Share this post Link to post Share on other sites
Heeeere's johnny! 51 Posted September 16, 2015 Are there any other units/men on the map than the traders? If not, you can simply search for all men in the whole "world" and save their position for further use: _mapRadius = (getNumber (configFile >> "CfgWorlds" >> worldName >> "mapSize")) / 2; _mapCenter = [_mapRadius, _mapRadius]; _allTraderPositions = _mapCenter nearEntities (_mapRadius * 1.1); { //do whatever you want here } forEach _allTraderPositions; Share this post Link to post Share on other sites
killzone_kid 1331 Posted September 16, 2015 worldSize https://community.bistudio.com/wiki/worldSize has been available from as early as 1.48 1 Share this post Link to post Share on other sites