Jump to content
Smart Games

Scripted Waypoints ...

Recommended Posts

How to make ai stay on a scripted waypoint for a few seconds until it goes to an other waypoint?

 

I tried to use:

setWaypointStatements ...

 

But no idea how to tell it, which unit is assigned to it.

 

Any Ideas?

 

Share this post


Link to post
Share on other sites

What is your code? where do you run it?

In editor, just add a waypoint timer (in waypoint attributes)

In a script, you can wait for a waypoint completion (then sleep), before adding a further one, or simply use a setWaypointTimeout.

Note: waypoints apply on groups, not units.

  • Like 2

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

×