Ticket #835 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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:

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

comment:1 Changed 2 years ago by Badmadblacksad

  • Status changed from new to closed
  • Resolution set to fixed

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

comment:2 Changed 2 years ago by feneur

  • Milestone changed from Alpha 6 to Alpha 5

comment:3 Changed 2 years ago by philip

(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.