Jump to content
Sign in to follow this  
cyborgrat

how to make ai fallow waypoint in a ramdom order

Recommended Posts

im trying to make ai seem like a animal by making him run away and stay in a area like the waypoints tell bu ti wish that he choses how to fallow the waypoints in a random way plz help

Share this post


Link to post
Share on other sites

Put many waypoints in the exact same spot but give them all a placement radius so every waypoint is randomly put inside that radius. Make the last waypoint a type of "cycle" so the the ai will run around the area like #### until someone puts him out of his misery.

I think it's possible to do true random waypoints with scripting, but this is a lot easier to do in your case.

(Edited by Spitfire at 1:37 am on Dec. 6, 2001)

Share this post


Link to post
Share on other sites

Re: MetalMickey, I mean CyborgMouse...err..rat!

To get a unit to follow a RANDOM path change the value of the "PLACEMENT RADIUS" in the "EDIT WAYPOINT" boxes from "0" to larger numbers.

You will see larger rings drawn on the map for the waypoints, (in the same way as when changing TRIGGER sizes).

Your unit should now head to randomly allocated spots within these larger rings.

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  

×