Bosh__ 1 Posted November 5, 2017 Script in question - https://pastebin.com/vfaTGnBN from https://steamcommunity.com/app/107410/discussions/0/412447331648476799/ This script works fine at the moment to add rectangle markers to the specified buildings in HouseArray. However I need the markers to be named m1, m2, m3, m4 etc in order to work with the EOS spawn system. I've seen scripts with something like "m_%1" to have numbers in ascending order but I can't get that to work. The boxes are fine at the moment and I can live with them but they tend to really overlap the grey boxes on the map that indicate buildings. I was wondering if there was something better than boundingBoxReal that would stick exactly to the grey boxes on the map? Lastly, would it be possibly to change this to something that can be executed in debug console to create the markers in the editor? Rather than running a script every time on mission start. This doesn't really matter as much, just wondering if possible. Any help would be great! Share this post Link to post Share on other sites
HazJ 1289 Posted November 5, 2017 createMarker [format ["m%1", (_forEachIndex + 1)], _position]; 2 Share this post Link to post Share on other sites
Bosh__ 1 Posted November 7, 2017 That was a great help, thanks! 1 Share this post Link to post Share on other sites