uboats Posted August 14, 2013 Share Posted August 14, 2013 In LOFC2, the map editor has start loop and end loop options. But in DCS map editor, they are gone. And the tutorial tells nothing about it. Does anyone know how to do it? [sIGPIC][/sIGPIC] My DCS Mods, Skins, Utilities and Scripts | Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD | | TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn | Link to comment Share on other sites More sharing options...
Grimes Posted August 14, 2013 Share Posted August 14, 2013 Two ways. 1. Set Orbit waypoint task action. You will have two orbit types, one is a circle, the other is racetrack. 2. Using switch waypoint task. If you want an aircraft to orbit around a flight plan of 2 or more waypoints you can simply use the waypoint action "Switch waypoints" to send the flight back to the first waypoint of the orbit. 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 Link to comment Share on other sites More sharing options...
uboats Posted August 14, 2013 Author Share Posted August 14, 2013 Two ways. 1. Set Orbit waypoint task action. You will have two orbit types, one is a circle, the other is racetrack. 2. Using switch waypoint task. If you want an aircraft to orbit around a flight plan of 2 or more waypoints you can simply use the waypoint action "Switch waypoints" to send the flight back to the first waypoint of the orbit. Could you tell me how to do 2nd one? I just entered DCS and can not find switch wp task [sIGPIC][/sIGPIC] My DCS Mods, Skins, Utilities and Scripts | Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD | | TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn | Link to comment Share on other sites More sharing options...
Grimes Posted August 14, 2013 Share Posted August 14, 2013 Under advanced waypoint actions. Add a task, and then pick the category "Perform Command" then choose "switch waypoint". Set whichever waypoint you want the AI to go back to, whenever they reach teh waypoint with the command, they will go back to the WP specified. 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 Link to comment Share on other sites More sharing options...
uboats Posted August 14, 2013 Author Share Posted August 14, 2013 Under advanced waypoint actions. Add a task, and then pick the category "Perform Command" then choose "switch waypoint". Set whichever waypoint you want the AI to go back to, whenever they reach teh waypoint with the command, they will go back to the WP specified. Thank you very much [sIGPIC][/sIGPIC] My DCS Mods, Skins, Utilities and Scripts | Windows 10 | i7-4790K | GTX 980Ti Hybrid | 32GB RAM | 3TB SSD | | TM Warthog Stick | CH Pro Throttle + Pro Pedal | TIR5 Pro | TM MFD Cougar | Gun Camera: PrtScn | Link to comment Share on other sites More sharing options...
Juuba Posted October 6, 2013 Share Posted October 6, 2013 So how can this be done to ground units? I dont see the Switch Waypoint option there. Is it even possible? Sometimes I Amaze even Myself! Link to comment Share on other sites More sharing options...
Stonehouse Posted October 6, 2013 Share Posted October 6, 2013 See here for ground units http://forums.eagle.ru/showthread.php?t=107603 Link to comment Share on other sites More sharing options...
Grimes Posted October 6, 2013 Share Posted October 6, 2013 See here for ground units http://forums.eagle.ru/showthread.php?t=107603 Its fully part of Mist 3.2 now and fully functional. The script I posted in that thread wasn't 100% complete and has some oddities to it. http://forums.eagle.ru/showpost.php?p=1885136&postcount=324 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 Link to comment Share on other sites More sharing options...
ENO Posted October 6, 2013 Share Posted October 6, 2013 (edited) mist.ground.patrol ( table/string groupTable/groupName, , string patrolType, string formation, number speed) Which becomes this: mist.ground.patrol('myGroup', nil, 'diamond', 10) As per the 3.2 guide... since I'm currently working with the same function... I believe the patrol type you want is doubleBack (as opposed to nil)... and as you may already know the variables 'diamond' and 10 can be changed to suit your purposes. If you go to the scripting engine wiki you can see the proper entries for the different formations available. Edited October 6, 2013 by ENO "ENO" Type in anger and you will make the greatest post you will ever regret. "Sweetest's" Military Aviation Art Link to comment Share on other sites More sharing options...
johnv2pt0 Posted October 21, 2013 Share Posted October 21, 2013 Seems to work great with land units but it doesn't seem to work with naval units. Can you guys confirm this? Thanks for the continued work on MIST...great stuff! Link to comment Share on other sites More sharing options...
Grimes Posted October 21, 2013 Share Posted October 21, 2013 The function is named mist.ground.patrol :) I wanted to keep commands for the different group types like that separate because each group type is slightly unique. Fixed wing aircraft and helicopters are similar, but they have different speed and altitude requirements. Ships and ground vehicles are similar, but they have different formation types and check different valid terrain types. I'll add the command for ships sooner or later. 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 Link to comment Share on other sites More sharing options...
johnv2pt0 Posted October 21, 2013 Share Posted October 21, 2013 Noted. lol Link to comment Share on other sites More sharing options...
rogonaut Posted December 20, 2017 Share Posted December 20, 2017 this is old but good. used to work fine but on 2.2 it seems to have died:( what an important feature this would be. Link to comment Share on other sites More sharing options...
Recommended Posts