Ticket #693 (closed defect: fixed)
Unit animation changes when unit is not in range of target resource
|Reported by:||k776||Owned by:||Philip|
|Priority:||Nice to Have||Milestone:||Alpha 3|
|Component:||UI & Simulation||Keywords:|
The unit animation changes when unit is not in range of target resource.
When a unit can't get where they are going (i.e. they're stuck in the group), they still do the animatioin they would have don if they got to their resource.
To get the same thing, get a big bunch of units, select the one in the middle, and have him chop wood
The animation shouldn't start until the unit reaches his target
Cause: The unit says to move somewhere, then a while later it hears that it's stopped moving, so it switches the attack/etc state, which triggers the animation. Then after some timer it checks the target is (still) in range. And the problem is if the target isn't in range at the time when the unit stopped moving because it got stuck somewhere