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

Shooting dose not stop when line of sight broken. #14

Open
White-Hot opened this issue Feb 2, 2023 · 0 comments
Open

Shooting dose not stop when line of sight broken. #14

White-Hot opened this issue Feb 2, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@White-Hot
Copy link
Collaborator

White-Hot commented Feb 2, 2023

Once engaging the player squad members won’t stop shooting until another target is acquired or the target is destroyed even when line of sight is broken.

To Reproduce
Steps to reproduce the behavior:

  1. Engage an enemy with one of the player’s squad
  2. Disengage and put a wall between the two or move them out of range.
  3. The squad character will continue to fire but will not do any damage.

Expected behavior
Ideally what should happen is that as soon as line of site is broken the squad members should stop firing.

The problem presents a big issue in terms of running game experience but should be a relatively easy fix. Perhaps a book variable could be inserted for line of sight and this could be checked every step while the player’s squad mates are shooting

@White-Hot White-Hot added the bug Something isn't working label Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants