Jump to content

Get the coordinates of all landmarks


Flappie

Recommended Posts

I wish to add more useful data to my accurate map of the DCS Caucasus theatre, mostly to facilite VFR flights.

 

My plan is to retrieve the coordinates of each and every landmark of the Caucasus theatre, in order to display them on my map. What I call "landmarks" are all the tall buildings that originally belong to a theatre (lighthouses, TV masts, communication towers, oil wells, oil platforms and such).

 

Can someone here find a way to get those coordinates thanks to a script, please?

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

This thread might help; it explains the usage of the DCS function world.searchObjects. I use the function to get objects around marks I place on the map (cf. screenie). As mentioned in the above thread, the function can be kind of wonky if you don't do error handling, especially when retrieving a lot of objects and/or using large search-spheres.

Screen_200503_153919.thumb.jpg.27475095912ef940f59027809da6ee58.jpg

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...