buur Posted July 24, 2021 Posted July 24, 2021 I've started to play around with the scripting command coalition.getRefPoints(enum coalitionId ). You can find the command on hoggit: https://wiki.hoggitworld.com/view/DCS_func_getRefPoints From the description I thought that this command gives you the initial point witch you can set in the mission editor. You know: Adder or Doge and so on ... But it seems that the description on Hoggit is a little bit misleading and it gives you only the Bull Eye. My question: Does anybody know how to get the the different initial points which you can set in the mission editor?
Grimes Posted July 28, 2021 Posted July 28, 2021 That appears to be bugged. It is returning a table with each point being the bullseye. So if you had 3 different nav points it shows the callsign Id correctly but the point value is the same for all 3. The good news is that information is embedded within the miz and can be accessed by env.mission.coalition[coaName].nav_points. For instance mist builds a DB of the contents: https://github.com/mrSkortch/MissionScriptingTools/blob/master/Example DBs/mist_DBs_navPoints.lua The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
buur Posted July 28, 2021 Author Posted July 28, 2021 Thanks for the answer. Hopefully the bug will be fixed in the next month. I will now try the solution with mist.
Recommended Posts