Home   Help Search Login Register  

Author Topic: Giving waypoints to script created units?  (Read 510 times)

0 Members and 1 Guest are viewing this topic.

timmylondon

  • Guest
Giving waypoints to script created units?
« on: 17 Jan 2003, 13:28:26 »
Hello,

How can I give waypoints for units created using script (createunit and createvehicle)?

I used game logics as their positions.

Thanks,
Timmy

Offline Ottie

  • Members
  • *
  • And you think this is personal
Re:Giving waypoints to script created units?
« Reply #1 on: 17 Jan 2003, 16:12:56 »
create a unit in the mission editor, and give this unit the waypoints you want the units created with the scirpt must follow and in the initfield of the unit write

GoupName (you use to create the new units) = group this; deleteVehicle this;

When you now create the units the units will follow the waypoints.

Ottie
If you can't beat them, buy them

cpt.Hawkeyez

  • Guest
Re:Giving waypoints to script created units?
« Reply #2 on: 25 Jan 2003, 04:42:23 »
or you could do

domove player [x,y,z]