Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#835 closed defect (fixed)

UnitAI - gathering animation played while unit still approaching resource

Reported by: historic_bruno Owned by:
Priority: Nice to Have Milestone: Alpha 5
Component: Core engine Keywords: animation
Cc: Patch:

Description

Try moving a gather-capable unit in the vicinity of a resource target, such as a mine. Then if you tell the unit to gather while it's moving close to the target, it will start playing the gathering animation even though it's still moving to the target. I'm guessing this is an issue with the states in UnitAI, but the gathering animation should not be played until the unit is at the resource and has stopped moving.

Change History (3)

comment:1 by Badmadblacksad, 13 years ago

Resolution: fixed
Status: newclosed

(In [9501]) Ensure units don't move while gathering. fixes #835

comment:2 by Erik Johansson, 13 years ago

Milestone: Alpha 6Alpha 5

comment:3 by philip, 13 years ago

(In [9504]) Fix #835 more comprehensively (the same bug affects other actions performed on nearby targets while moving)

Note: See TracTickets for help on using tickets.