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

Pause the action queue when attacking #33

Open
BrunoMine opened this issue Nov 30, 2017 · 3 comments
Open

Pause the action queue when attacking #33

BrunoMine opened this issue Nov 30, 2017 · 3 comments

Comments

@BrunoMine
Copy link
Contributor

BrunoMine commented Nov 30, 2017

If npc is in attack state (self.state == "attack"), you must interrompe tasks.

@hkzorman
Copy link
Owner

I agree there's still not enough integration between both APIs (advanced_npc and mobs_redo).
I plan to make changes on how the on_step works, because:

  • The wandering in mobs_redo is too clumsy and make NPCs go into wrong directions, keep walking when they are colliding, and they overall look crazy. I want to change this to a more natural wandering, and actually, much more limited
  • While the action/task queue is executed, NPCs can be punched and they don't react
  • NPCs attacks are too deadly. They will attack until you are killed or out of sight. Maybe they shouldn't be too aggressive (maybe this can be configured as well), specially if you are already into some relationship with them
  • The issue you just mentioned

So yes, I will definitely address this.

@BrunoMine
Copy link
Contributor Author

I made some adjustments in my project to hide the problem, but I look forward to correcting it.

@BrunoMine
Copy link
Contributor Author

Has this problem been fixed? It seems I'm still seeing this occur.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants