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

Title: They move, and get them self killed....
Post 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?
Title: Re: They move, and get them self killed....
Post by: JasonO on 08 Aug 2007, 04:38:19
this allowfleeing 0

do that for each unit in it's init field.
Title: Re: They move, and get them self killed....
Post by: Tyger on 08 Aug 2007, 19:05:41
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.