Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AI's units can't abandon their last target #17275

Open
Violetnred2 opened this issue Oct 25, 2019 · 1 comment
Labels

Comments

@Violetnred2
Copy link

@Violetnred2 Violetnred2 commented Oct 25, 2019

encountered on Playstest 20191021, Red Alert mod.

case A: if a unit witnesses enemy spy assuming friendly disguise - they lose ability to target anything else until that spy stops existing.
case B: if a unit tries to attack and doesn't kill something - they will chase the target forever and will ignore other units even if target is not visible and those other units attack the chasing unit.

test map: AITargetingBug.zip
for both cases chose spawn A, start the game

case A:

  • select any spy
  • move them into enemy tank's attack range until the tank starts turning to face them
  • "attack" a mechanic in the bottom right corner of the map
  • the disguised spy needs to stay alive for the bug to happen
  • now moving any other targetable unit into the range of a unit that tried to attack the spy will not trigger any kind of response from that unit until the spy is dead or consumed.

case B:

  • take a plane and move it east until a mammoth tank tries to target it
  • fly a plane out of vision range and behind some friendly units nearby
  • mammoth tank will now chase the plane, ignoring any other units that gets into it's range or also attack it.
@Violetnred2

This comment has been minimized.

Copy link
Author

@Violetnred2 Violetnred2 commented Oct 25, 2019

one more thing: turning invisible - tested with a phase transport against medium tank - doesn't cause the same issues as a disguising spy does.

@abcdefg30 abcdefg30 added AI Bug labels Oct 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.