OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: ThEoNeAnDoNlY 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
-
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
-
chearzz!!!
Guy
(it worked lol)