Jigsor 175 Posted July 26, 2014 I'm using EOS and have a ton of markers on the map. I would like to somehow detect all markers so I can put them into an array rather than manually type them or copy/paste them into an array. Is there a way to automate this? Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted July 26, 2014 allMapMarkers maybe? Share this post Link to post Share on other sites
Jigsor 175 Posted July 26, 2014 That works. Was unaware of allMapmarkers. Thanks Grumpy Old Man. Share this post Link to post Share on other sites
das attorney 857 Posted July 27, 2014 He is very Grumpy, but then sometimes inexplicably helpful. Share this post Link to post Share on other sites
bangabob 41 Posted July 27, 2014 Or you could retreive all the eos Markers from server GetVariable "eosMarkers"; Share this post Link to post Share on other sites
roguetrooper 2 Posted July 27, 2014 "allmapmarkers" also takes those into account that are placed by players during the gameplay by doubleclick. This code returns only those (_allmarkers) that were actually placed in the editor or spawned by "createmarker(local)": _mapclick = []; _allmarkers = []; {private "_a"; _a = toArray _x; _a resize 15; if (toString _a == "_USER_DEFINED #") then {_mapclick = _mapclick + [_x]}} forEach allMapMarkers; if (!(_x in _mapclick)) then {_allmarkers = _allmarkers + [_x]}} forEach allMapMarkers; Share this post Link to post Share on other sites