Jump to content
Sign in to follow this  
M.Andersson(SWE)

Basic Patrol

Recommended Posts

I would like 2 AI Inf to patrol let say a X nr of waypoints.

I want them to do this in a loop. Allways.

I have never worked with scripts, only waypoints.

Is there a way for me to make this happen in the

editor. With waypoints only or do i need to

add scripting aswell?

Share this post


Link to post
Share on other sites

You can do this in the editor without scripts.

Place the 2 ai infantry (assuming they will be part of the same group - to group them click group then drag a line between the 2 of them), then select waypoints. Click on your soldiers (either one, since they are part of the same group). Double click where you want the first waypoint. A dialog will appear, select a "move" waypoint - which is default. Repeat however many times you want. When you have all the locations you want, then make one more - make that way point a "cycle" way point. place that waypoint near the first waypoint you created. The cycle will repeat the way points starting at the one closest to the cycle waypoint. So don't put the cycle waypoint close to the last one, or else it just repeats the last waypoint (meaning it won't move because its already there).

Share this post


Link to post
Share on other sites

Nice...I almost got it to work..

One problem:

Patrol is 2Inf and after a couple of m one of them

stops, and just stands there...

Share this post


Link to post
Share on other sites

Sometimes terrain messes with their navigation. Especially in cities, or steep terrain.

Waypoints are not 100% guaranteed for the lead unit to get to the exact point you placed the waypoint.

Try moving them around a bit.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×