Home   Help Search Login Register  

Author Topic: How To Make Units Move After A Trigger Is Activated?  (Read 571 times)

0 Members and 1 Guest are viewing this topic.

Alex

  • Guest
Hi All,
        How Do You Get A Unit Or Group Etc To Move After A Waypoint Is Activated?
Tahnks,
Alex

DBR_ONIX

  • Guest
Re:How To Make Units Move After A Trigger Is Activated?
« Reply #1 on: 26 Feb 2004, 20:42:52 »
There's prob an easier way.. But, in the waaypoints activation field (In advanced mode) put :
unitnametomove move [getpos gotopos]

Then, put a invisible H (Under empty>objets, I think), can call it gotopos (Change it to what you want, but update the waypoints code where it says getpos gotopos and change the gotopos bit)..

Hmm, you could give the unit you want to move a set of waypoints, but for the first one, make it fairly close, to the unit, and press F5 (Syncronise mode), and drag a line between the waypoint that you need to get to, to the units first waypoint.. I'm not too sure about how effective this is, though...

Hope this answers you prob :)
- Ben

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How To Make Units Move After A Trigger Is Activated?
« Reply #2 on: 26 Feb 2004, 20:47:48 »
This is all about combining waypoints and triggers.    There are some good trigger tutorials in the Ed Depot.   Usually, though not always, the triggers are type switch and hence are referred to as "switch triggers".  Try searching the forum, this has come up a lot in the past.     The Tutorial Mission has working examples of exactly what you are trying to do.

You can of course use move/doMove/commandMove commands to make loons go where you want, but really these are best kept for circumstances where waypoints don't fit the bill.
Plenty of reviewed ArmA missions for you to play

Alex

  • Guest
Re:How To Make Units Move After A Trigger Is Activated?
« Reply #3 on: 26 Feb 2004, 20:48:19 »
Thanks Mate

Harkonin

  • Guest
Re:How To Make Units Move After A Trigger Is Activated?
« Reply #4 on: 26 Feb 2004, 21:29:46 »
Even easier, set the waypoints and in the first 1's activation make a condition like Go then in the trigger set the on activation to GO = True.

Or easier just synch the waypoint with the trigger.
« Last Edit: 26 Feb 2004, 21:31:05 by Harkonin »

Alex

  • Guest
Re:How To Make Units Move After A Trigger Is Activated?
« Reply #5 on: 27 Feb 2004, 08:52:48 »
Synching It Doesn't Work Mate...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How To Make Units Move After A Trigger Is Activated?
« Reply #6 on: 27 Feb 2004, 10:08:09 »
If a waypoint is synchroed with a trigger the group will wait at the WP till the trigger condition is true.

If the trigger is type switch, then when the trigger condition is true the group will move to the next waypoint straightaway, no matter where they are in the waypoint sequence.  
Plenty of reviewed ArmA missions for you to play