Jump to content

Recommended Posts

Posted

Is there any way to make ground units do patrol circuits?

 

What I would like is to have a ground unit (say BDRM) to move from the last WP and start again via the first WP.

 

Can it be scripted?

Posted

Technically yes, but its not perfect.

 

Basically you create a series of templates for your ground units and then use the trigger action, "Stop and Form Template". Each unit in the groups position is based on the location of the first unit in the group. So if you make templates where "X" is the first unit and "y" is the 2nd unit look like this:

 

Template 1:

--------------X--------------Y

Template 2

Y------------X--------------

 

You can alternate the "Stop and Form Template" between the 2 templates and the Y unit will simply drive from left to right and back again on an infinite loop.

 

 

Its not a very clean way of doing it, but it works.

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

Posted

Thanks for that guys :)

Until the option is there I will continue to apply enough waypoints to keep a unit occupied for 24 hours. It's a lot of clicking and a pain in the extreme lower neck though.

My maps never last for that long anyways; the bright heads of this excellent simmers community always find ways of defeating my obstacles with far greater efficiency than what I anticipate :D

  • Recently Browsing   0 members

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