Home   Help Search Login Register  

Author Topic: "Creating" waypoints  (Read 1568 times)

0 Members and 3 Guests are viewing this topic.

Offline Dj Tano

  • Members
  • *
"Creating" waypoints
« on: 20 Mar 2007, 20:30:35 »
Hey guys,

i would like to know if you can somehow make a trigger that, if activated, makes a unit go down waypoints...

Offline Cheetah

  • Former Staff
  • ****
Re: "Creating" waypoints
« Reply #1 on: 20 Mar 2007, 22:35:02 »
I suggest that you take a look at this thread.

Additionally. A lot of commands have been added, for example setWaypointBehaviour. The only command I couldn't find was that to create a new waypoint. Probably just overlooking it and someone else will add it to a later reply. For now, take a look at these commands and the topic and if you do still have any problems feel free to ask for more help (maybe more useful help).
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re: "Creating" waypoints
« Reply #2 on: 21 Mar 2007, 07:52:57 »
Quote
The only command I couldn't find was that to create a new waypoint.
You don't need to create waypoints, each single unit (un-grouped) or a group leader get's a initial waypoint right on top of it.
It's number is 0 and you can access it with the new waypoint commands.

For example
Code: [Select]
[groupname,0] setWaypointBehaviour "safe"
EDIT:
Oh, and the command for creating waypoints is addWaypoint

But I don't think that's what Dj Tano is after  :scratch:
You mean setting a trigger in the editor?

If so, set the triggers type to 'switch' and synchronize the trigger with a waypoint prior to the waypoint you want the unit to go to.
Once the trigger gets activated it will 'free' the next waypoint for the unit..
« Last Edit: 21 Mar 2007, 08:19:25 by h- »
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.