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

Aggro NPCs #51

Open
2 tasks
JaXt0r opened this issue Jun 21, 2024 · 0 comments
Open
2 tasks

Aggro NPCs #51

JaXt0r opened this issue Jun 21, 2024 · 0 comments

Comments

@JaXt0r
Copy link
Contributor

JaXt0r commented Jun 21, 2024

When we unsheathe our weapon ot just raising it higher than our (e.g.) hips, we should trigger the aggro state of nearby NPCs.

  • Implement see sense of NPCs. It means do a range-check of unwanted behaviour. (Hint: The sense range for see/smell/hear is already put into NoProperties-Component)
  • Alter routine of NPC to stop it and call the aggro routine from Daedalus

Hints:

  • Beware of physics. I.e. check if hero is actually visible for a NPC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant