Skip to content

Spawner ReturnOnDeactivate, and BaseCreature ReturnsToHome needs retooling #2028

@kamronbatman

Description

@kamronbatman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions