joeragan Posted May 5, 2020 Posted May 5, 2020 Hi, as title say, is it possible to get export all NPC Position (lat lon alt) and Rotation (yaw pitch roll) to network using udp?
joeragan Posted May 5, 2020 Author Posted May 5, 2020 Ok i just too lazy to read all the manuals. I don't know LUA but maybe I'll try this later and make some report here https://wiki.hoggitworld.com/view/DCS_func_getPlayers to get all players based on coalitionId (which is only 3, Neutral 0, Red 1, Blue 2). The getPlayers function will return Unit Objects (https://wiki.hoggitworld.com/view/DCS_Class_Unit) and we can iterate each of them and using https://wiki.hoggitworld.com/view/DCS_func_getPosition to extract the position, i don't know yet for rotation
Recommended Posts