Home   Help Search Login Register  

Author Topic: creating a unit with waypoint  (Read 413 times)

0 Members and 2 Guests are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
creating a unit with waypoint
« on: 07 Apr 2004, 03:48:32 »
hi all

Is it possible to create a unit so that when he is created he will do a seek and destroy waypoint?

I have used the createunit command I am not sure if I add something to this.

As always your help and expertise is appreciated and let me say thanks in advance.....Thanks ;)
"Everyone dies so deal with it and move on"

                                                      ME

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:creating a unit with waypoint
« Reply #1 on: 07 Apr 2004, 04:09:50 »
There is no script command to create a waypoint, aside from the "move" command. However, what you could do is to create the unit in a group that you place in the editor that has a S&D waypoint.

Place a guy in the editor, and put "group1=group this; deletevehicle this"; in the units init field. Then give him a S&D waypoint. When you create your unit via scripting, make him start as part of group1. He should then proceed to the groups waypoint.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!