OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: The_Bishop_Ghost on 04 Aug 2007, 14:39:08
-
Okay. Im makeing (mostly just for the fun of it) a campaing for OFP.
And I ran into a snag of sorts
the mission is basicly this:
A SEAL team is to keep the soon to be exiled president of Tonali safe in a warehouse until a group of marines get there to evacte the president and his familiy. The marines comes in in a helikopter and makes there way to where the PF is suppossed to wait, and then escort them toa second helikopter går get them to safty. The only problem is that the PF dosenät wait where they are suppossed to instead running/walking out of the area, and thus geting themself killed.
How do I fix this?
-
this allowfleeing 0
do that for each unit in it's init field.
-
If that doesn't work then try chaning their behaviour to careless.
Also, as a last resort, you can doStop unit but getting them unstopped is a chore sometimes.