Home   Help Search Login Register  

Author Topic: Add waypoint failure  (Read 1397 times)

0 Members and 1 Guest are viewing this topic.

Offline CharlieReddog

  • Members
  • *
Add waypoint failure
« on: 24 Jan 2010, 17:56:45 »
I'm having problems with an AI chopper coming to pick up a player group, so I've set up waypoints for the chopper to come and land at the required position. I don't need anything further fancy than just taking off when everyone's in the chopper.

The chopper comes and lands, zero problem. The trigger is set up to be as follows

Condition : call {{_x in chp1} forEach (units grp1)}

On Act : wp=chp1 addwaypoint [getpos h1,0]; wp setwaypointtype "Move"; chp1 setCurrentWaypoint wp

As far as I can see, the waypoint is created, but nothing happens so maybe I'm wrong.

Any Ideas?