skylit Posted February 29, 2016 Posted February 29, 2016 (edited) 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. Edited February 29, 2016 by skylit Win10 | Intel Core i7 5820K | Asus X99-A | 32Gb Ram @ 2666MHz | 6GB EVGA GTX 980Ti | 256Gb M2 drive | 1TB Sata | X52 Pro | 50" Samsung@4k
Recommended Posts