Hi, I'm looking into writing some scripts which I want to run on my server and have a few questions.
1: What does the DCS.getUnitProperty method do, I see it takes a missionID and a propertyId.
I haven't seen a mission id return from DCS.getCurrentMission(), so not entirely sure how i get hold of one.
2: Using the DCS.getAvailableCoalitions() I am able to get hold of all units on the map.
a: does this also return projectiles like missiles etc.
b: how can i turn the x,y into a lat lng. I see when using scripts with the mission editor there is a coord object avaiable which has a LLtoLO which is the opposite of what I want. but the coord object insnt available when using the controlApi method of integration.