Lumax Posted March 1, 2015 Posted March 1, 2015 Hi, Is it possible to script waypoints for ground units. I want a few units going from Wp1 to Wp2 then back to Wp1 so on in a enless loop. Im not sure how to go about doing this with Lua. The ingame editor does not seem to have a loop/cycle for waypoints
DarkFire Posted March 1, 2015 Posted March 1, 2015 Having tried to do it myself I agree that 'looping' for ground units is impossible using the standard editor tools, however I would imagine that this would be possible using a Lua script. Unfortunately I'm useless with Lua scripting so can't help there :( System Spec: Cooler Master Cosmos C700P Black Edition case. | AMD 5950X CPU | MSI RTX-3090 GPU | 32GB HyperX Predator PC4000 RAM | | TM Warthog stick & throttle | TrackIR 5 | Samsung 980 Pro NVMe 4 SSD 1TB (boot) | Samsung 870 QVO SSD 4TB (games) | Windows 10 Pro 64-bit. Personal wish list: DCS: Su-27SM & DCS: Avro Vulcan.
Flagrum Posted March 1, 2015 Posted March 1, 2015 I have seen a script that does this. But atm I have no link at hand - probably somewhere in the Mission Builders subforum? When I find it, I will post it here.
Sauerkraut Posted March 1, 2015 Posted March 1, 2015 --> http://forums.eagle.ru/showthread.php?t=100640
mwd2 Posted March 1, 2015 Posted March 1, 2015 It is possible with MiST: place a unit, plot a path. At last WP go to 'Advance WP Action': Run Script mist.ground.patrol('PatrolSector-II', nil, 20) PatrolSector-II is the unit name http://wiki.hoggit.us/view/GroundPatrol Playing: DCS World Intel i7-13700KF, 64GB DDR5 @5600MHz, RTX 4080 ZOTAC Trinity, WIN 11 64Bit Prof. Squadron "Serious Uglies" / Discord-Server: https://discord.gg/2WccwBh Ghost0815
Wrecking Crew Posted March 1, 2015 Posted March 1, 2015 It is possible with MiST: place a unit, plot a path. At last WP go to 'Advance WP Action': Run Script mist.ground.patrol('PatrolSector-II', nil, 20) PatrolSector-II is the unit name http://wiki.hoggit.us/view/GroundPatrol What would this code look like to get a Group patrol instead of a Unit? Different? Thanks, WC Visit the Hollo Pointe DCS World server -- an open server with a variety of COOP & H2H missions including Combined Arms. All released missions are available for free download, modification and public hosting, from my Wrecking Crew Projects site.
Grimes Posted March 1, 2015 Posted March 1, 2015 Its supposed to be the groupName or a grouptable, not a unit name. 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
Recommended Posts