Home   Help Search Login Register  

Author Topic: changing waypoints  (Read 796 times)

0 Members and 1 Guest are viewing this topic.

ThEoNeAnDoNlY

  • Guest
changing waypoints
« on: 06 Dec 2005, 19:34:00 »
hey guys

im making a mission where a platton marches (you are one fo the men) down a road, and gets ambushed. however i want it so that as soon as the group comes unfder fire, and therefore their fire status changes, their waypoint changes from a safe walk down south, to their next waypoint which is the charge into some nearby cover.

basically iw ant to know how to skip a waypoint in a trigger.

; for example ;

?(behaviour group1leader == "combat")

(group1leader domove nextwaypoint)

Cheers

guy

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:changing waypoints
« Reply #1 on: 06 Dec 2005, 19:50:04 »
Create a trigger that fires on the condition you want.  Make it a 'Switch' type of trigger, synchronise it with the Waypoint immediately before the one you want the group to go to when it fires.
Don't synchronise it with a guard waypoint.  Move and Cycle waypoints are fine
« Last Edit: 06 Dec 2005, 19:51:02 by THobson »

ThEoNeAnDoNlY

  • Guest
Re:changing waypoints
« Reply #2 on: 06 Dec 2005, 20:07:52 »
chearzz!!!

Guy

(it worked lol)