Retreat Help

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
makigono1
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 93
Joined: Sat Jun 06, 2015 2:30 am

Retreat Help

Post by makigono1 »

Looking over moraletools.bsf and having some trouble understanding how to edit the retreat distance. In default settings, the units just seem, when they break and run, to move a single space, which leaves them well within range often times, and allows them to be cut down, when they logically could have continued to run away until they reach cover. The scripting seems to do a great job calculating the proper direction to go in to reach cover, but the units almost never reach it, as they just run away one space and then stop out in the open.

Any suggestions on how to deal with this? As I mentioned, I've been perusing moraletools and have figured out the thresholds for breaking and routing and such, but no matter what I try, units will never retreat more than one space.
Post Reply

Return to “Battle Academy 2: Modders Corner”