Jump to content

Sign in to follow this  
spartanhoplite

Retreating Problem

Recommended Posts

hi i deployed 4 boats for soldiers who are retreating. The infantry will embark the boats and go away from the battlefield.

How can i do this

THANX

Share this post


Link to post
Share on other sites

With AI's if their morale is low or there sense they are over matched they tend to flee and regroup with the nearest friendly units.

You need to set the fleeing option (0 thru 1) 0=no fleeing and 1=always flee

Put this:

In any units init field "this allowfleeing 0"

Or in group leader's init field "group this allowfleeing 0"

Can also be used in triggers or waypoints, but you'll need to use real unit/group names insted of "this".

Edited by Zulu1

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  

×