Jump to content
Sign in to follow this  
plasman

How to prevent captives from fleeing ?

Recommended Posts

I've set several soldiers as prisoners (This SetCaptive True).

But instead of staying in place they just run away! There is no way to stop them from fleeing.

I've tried to set several waypoints orders (hold for example) without success : they simply don't follow these orders. The only solution I found was to create a small script with a "DoStop" command loop.

I think the fact prisoners cannot stay in place, unlike any other soldier must be a bug. What do you think ?

Share this post


Link to post
Share on other sites

No it´s not a bug.

Just use: this allowFleeing 0

In their init field.

It´s quite natural that they would try to run away from enemies if they are unarmed.

Share this post


Link to post
Share on other sites
No it´s not a bug.

Just use: this allowFleeing 0

In their init field.

It´s quite natural that they would try to run away from enemies if they are unarmed.

Well noted smile_o.gif

Thanks for the info

My Dostop loop was not very elegant.

Share this post


Link to post
Share on other sites
No it´s not a bug.

Just use: this allowFleeing 0

In their init field.

It´s quite natural that they would try to run away from enemies if they are unarmed.

Well noted smile_o.gif

Thanks for the info

My Dostop loop was not very elegant.

I would imagine... fleeing units tend to ignore any type of movement command (which is mostly desirable when you want them to be allowed to flee), though one thing I just recently noticed in OFP (yes I'm going a little offtopic) is that they'll always flee to the nearest friendly occupied ambulance if there is one - quite useful for mission designers.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×