Jump to content
Sign in to follow this  
Ice_Rhino

Making OPFOR Stay within limits

Recommended Posts

Is it possible and if so how to ensure that OPFOR units stay within a given range of a certain point (hidden OBJ whatever). I am placing site units down from Modules and some of them just go wandering off into the distance. I want the soldiers to stay within say 200m of the base in which they spawned.

Thanks

Toni (IR)

Share this post


Link to post
Share on other sites
I am trying to see if this will work;

_unit allowFleeing 0;

Yes, you have to use the script allowFleeing:

unitName allowFleeing number;

Note: If you write a small number (0, 1, 2 ...), the unit will be easier to run from a fight.

If write a large number, the unit won't to run from a fight.

Edited by [CSLA]LUKI
typo

Share this post


Link to post
Share on other sites

What is the scale? 0 - 10? 0 = run away, 10 = Rambo holding steady

Edited by Ice_Rhino
Changed content

Share this post


Link to post
Share on other sites

You're welcome mate ;)

Share this post


Link to post
Share on other sites
What is the scale? 0 - 10? 0 = run away, 10 = Rambo holding steady

So somehow :)

You test it, and then write, if it worked or not worked ;)

Edited by [CSLA]LUKI
Changed content

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  

×