Jump to content

Recommended Posts

Posted

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?

Posted

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 ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

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