Jump to content
Sign in to follow this  
steroidg

Waypoint command question

Recommended Posts

Hi everyone,

I'm having a bit of problem making new waypoints using the various commands, hopefully someone can give me some hint.

Basically what I want to do is:

- I have a guy (named "p1") with 4 way points: 0 Move, 1 Move, 2 Move, 3 Cycle

- I want to have a trigger (Radio alpha) to make him go to a set location (the position of a truck named "getaway") and never come back again.

What I wrote in the trigger's scriptin section is:

deleteWaypoint [group p1, 0];

deleteWaypoint [group p1, 1];

deleteWaypoint [group p1, 2];

deleteWaypoint [group p1, 3];

nwp = group p1 addWaypoint [position getaway, 0];

However that didn't seem to do anything. The guy is still running in circles.

Can anyone spot anything wrong with what I did?

Cheers,

Steroid

Share this post


Link to post
Share on other sites

Please wait for patch 1.05, because in versions before it you cannot delete finished or in-progress waypoints. This has been addressed in the patch smile_o.gif

If you cannot wait for the patch, the only way I know of to achieve this is to attach a single (dynamic) switch trigger to the first 4 waypoints and activate this trigger when you want the unit to go straight to the 5th.

Share this post


Link to post
Share on other sites

Hi DnA,

Thanks for your response, it seems that 1.05 is available, I'll give it a go. smile_o.gif

Cheers,

Steroid

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  

×