Jump to content

My Units get stuck in "run" mode


Recommended Posts

11 minutes ago, wraitii said:

Do you have a replay showcasing this?

Sometimes they go into "run mode" and move at run speeds, other times the run animation plays randomly with no corresponding movement rate increase. Here is a replay of the latter, where I send a cavman to scout the southern part of the map at around 3:20 and he randomly goes in and out of run animation for the next couple of minutes.

 

commands.txt metadata.json

Edited by wowgetoffyourcellphone
Link to comment
Share on other sites

This appears to be a rounding issue, we're off-by-one. The walking speed is computed correctly everywhere, but unitMotion moves by one 'comma' more than should be possible. That doesn't always happen though, and I don't think the run multiplier code is related... But it's the one related change we did recently :P.

Odd.

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...