Kazius Posted November 7, 2018 Posted November 7, 2018 Does anyone know if there are any DCS API methods that allow for adding, modifying, deleting of waypoints from a Unit? Also if anyone has links to some good DCS API documentation with all or most of the methods / functions available to us it would be great.
Grimes Posted November 7, 2018 Posted November 7, 2018 This wiki has all the information you need. Categories should also be mostly complete. For example all scripting functions. Dealing with waypoints is kind of strange because there is no incredibly basic "go to this coordinate at X speed, y Alt, etc by itself. All of that information is in the mission task which also contains rules tasks to do while on the mission, options to set, commands etc. To add/modify existing waypoints you have to assign a new mission task. To delete a waypoint, you can sort of do it by just using Switch Waypoint for aircraft or goToWaypoint for ground groups. Also complicating matters is that tasks can be assigned at the group and unit level, however only aircraft units can be given their own tasks. 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
Kazius Posted November 8, 2018 Author Posted November 8, 2018 Thanks Grimes. I use the page already but wasn't sure how complete the information is. I will try to get by or find ways to make things work. Also thanks for tips on waypoints, I will try to figure it out. Even a tiny bit of information like this is so helpful.
Recommended Posts