Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted

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.

Posted
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.

  • Recently Browsing   0 members

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