OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 12 Jul 2003, 19:44:21
-
How do make ur units and urself retreat from ur position wen ur overrun by a large number of enemy troops.?
-
....and urself retreat ...
Get up and run :)
-
Yes yes very funny, i know that! but how do get units not in ur command retreat????????????????
-
You could have all of them hooked up with a switch trigger that would give em an alternate set of fleeing waypoints once the trigger was tripped
;)
kinda like how you make a dood go from a set of base perimeter patrol cycle waypoints to a set of seek and destroy waypoints or the like once an alarm goes off..
So your switch trigger has a countside command in its activation field, and when the proper Side has less than the specified number of guys alive on it they will switch to a new set of waypoints ;)
You could also just have a trigger with the countside for activation and then have it tell all your dudes to allowfleeing 1 and they should just run off on their own all disorganized like..
(http://home.earthlink.net/~kaliyuga420/SPark/towelie_icon.gif)
and don't forget to bring a towel ;D
-
Switch triggers i aint come across them yet. I aint seen them in the tuts either. Wot r they?
-
Create a normal trigger, and then look for the box that says before it
Type:
Open the box and then choose 'Switch'. You have just created a Switch trigger.
Now you can give the unit you want to flee a 'Hold' waypoint and then, select F5 and drag a line from the waypoint to the trigger. When the conditions inside your trigger are met the unit on Hold will move to his next waypoint, which you need to choose.
-
Cheers man :)
-
No problem :)