Jump to content

How to export information on the item currently selected on F10?


Recommended Posts

I want to export the currently selected unit on the F10 map. I have found `LoGetObjectById()` by browsing `Export.lua`, but I don't know how to get the ID of the object I have clicked on.

I would like to get at least the position (lat, long, alt). coalition and name (typename) would be helpful but is not strictly required.

Alternatively the object ID so I can get all that with the LoGetObjectById function mentioned above. I would also enjoy those things for when the user clicks on an airfields.

If it's possible, the left alt + left mouse button marker would also be nice to export, is that possible?

Is there some kind of comprehensive API documentation that I can search through?

Link to comment
Share on other sites

  • Recently Browsing   0 members

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