Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: changing waypoints  (Read 916 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)