Jump to content

childspawner does not work properly in interiors


Thrance
  • DLC VERSION - IMPORTANT!: Hamlet Fixed

Buildable spawners that use the childspawner.lua or spawner.lua components are not working as intended in interiors.

If the player is outside and the interior is unloaded when the parent inst spawns its child, the child will spawn in the void instead and get lost forever.

This might be easily fixable by checking if the parent is in limbo before actually spawning its child, and then aborting or rescheduling the spawn. Another more complex way would be to actually spawn the child in the correct interior.


Steps to Reproduce
  1. Build a spawner in an interior (a rabbit hutch for example).
  2. Leave the interior.
  3. Wait for the spawner to release its child (a little while after dusk for a rabbit hutch).
  4. Go inside: the child won't be there (if you use the c_gonext("bunnyman") command, you will see the rabbit wandering the void).
  • Like 1



User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.


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...