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

Spawner ReturnOnDeactivate, and BaseCreature ReturnsToHome needs retooling #2028

Open
kamronbatman opened this issue Dec 21, 2024 · 0 comments

Comments

@kamronbatman
Copy link
Contributor

There is a property on spawners, ReturnOnDeactivate, which effectively teleports mobs back the spawner when the sector is deactivated. Unfortunately the problem is part of several bigger issues.

  1. The sector the mob is at, and the "home" sector should both have to be deactivated.
  2. This property is redundant to the OnThink override ReturnsToHome which forces the mob to try to unintelligently run back to "home" instead of pathfinding.
  3. "Home" is currently set to the spawner's location, regardless of where they spawn. This should be set to the actual location they spawn.
@kamronbatman kamronbatman changed the title Spawner ReturnOnDeactivate needs retooling Spawner ReturnOnDeactivate, and BaseCreature ReturnsToHome needs retooling Dec 21, 2024
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

1 participant