Jump to content

Geothermite resets home location on initializing brain


hoxi
  • Pending

Unsure if intended or not, but I doubt so, it should probably be noted whenever "home" locations are saved and they're not set to not overwrite ("spawnpoint" locations should, from their name alone, probably never overwrite, but for home it'd make sense to move it if applicable).

I'm mainly reporting to avoid introducing this issue to yet another creature when so many different creatures still have it.

function CaveVentMiteBrain:OnInitializationComplete()
    self.inst.components.knownlocations:RememberLocation("home", self.inst:GetPosition())
end

 


Steps to Reproduce
  • Move a Geothermite around from where it spawned.
  • Put it to sleep or go far away enough for it to be entity sleeped.
  • Notice how it'll wander around this new point instead of where it spawned from.



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...