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