Home   Help Search Login Register  

Author Topic: setwppos probs - can't find answer in search  (Read 840 times)

0 Members and 1 Guest are viewing this topic.

Bagel

  • Guest
setwppos probs - can't find answer in search
« on: 09 Dec 2002, 20:23:44 »
 have tried almost every combo and can't get this puppy to work. I must be missing something.

[group player,1] setwppos getmarkerpos "marker1"

I then check the waypoint with getwppos [group player,1] and I get a return of [0,0,0] whereas my getmarkerpos "marker1" give me a real location [12.888,12,999,0] (for eg)

What I want to do is set a waypoint for a newly created group and then make them move there, help will be appreciated.

Thanks

Offline Ranger

  • Members
  • *
  • Hoo-ah!
Re:setwppos probs - can't find answer in search
« Reply #1 on: 09 Dec 2002, 21:20:21 »
I've never used the setWpPos command, so I have no idea what's wrong with your code.

However, the method that I use to create dynamic WPs is to use a script.  Use gamelogic objects for the "waypoints", and move those objects to where you want the units to go.  Then, have the units move to the position of the gamelogic.

In your case, right after the new group is created, execute the appropriate script that orders them to move to the appropriate gamelogic's position.
Ranger