Opened 14 years ago

Closed 13 years ago

#595 closed defect (fixed)

Units should not pursue enemy units if they are not visible

Reported by: Andrew Owned by:
Priority: Should Have Milestone: Alpha 6
Component: Core engine Keywords: fow
Cc: Patch:

Description

Units, which pursue the enemy, should only go as far as they last saw the unit. If when they get there, they don't see it, they return to where they were originally. If they see the unit, or other enemy unit, they pursue until they kill it, or lose it. Again, in both cases, they should return to where they started off, not remain where they lost/killed the enemy unit.

Change History (8)

comment:1 by Andrew, 14 years ago

Owner: changed from philip to Philip Taylor

comment:2 by Kieran P, 14 years ago

For Alpha 2, until the above conditions are implemented, a simple change to stop follow orders if the units goes into FoW or SoD would suffice for now. A unit should not be able to follow another unit all around the world, esp when the other unit is much faster.

comment:3 by Kieran P, 14 years ago

Milestone: OS Alpha 2OS Alpha 3

Pushing back to Alpha 3 due to time constraints and complexity.

comment:4 by Kieran P, 13 years ago

Milestone: Alpha 3Alpha 4

comment:5 by Kieran P, 13 years ago

Owner: Philip Taylor removed

comment:6 by Kieran P, 13 years ago

Milestone: Alpha 4Alpha 5

comment:7 by Kieran P, 13 years ago

Milestone: Alpha 5Alpha 6

comment:8 by philip, 13 years ago

Resolution: fixed
Status: newclosed

(In [9657]) Attempt minor improvements to stances code (see #865). Don't chase units that are no longer visible, beyond where they were last seen (fixes #595).

Note: See TracTickets for help on using tickets.