I'm trying to setup respawn timers, but noticed that after a battle is over with a combatant the object with the combatant spawner gets deleted. Not sure if it's influence of some other script or some misconfiguration in the combatant settings.
We spawn max 1 combatant per combatant spawner, randomly in one of the waypoints. Battle takes place in another scene.
Well, you've got Use Scene ID enabled - this is a system to have battles appear only once. Disable id and the spawner should stay and respawn combatants.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Indeed, the battle spawn objects now stays. The problem is now that the the mob immediately respawns after the battle and not after the time such as indicated in the respawn timer. I think this is due to the battle taking place in another scene. Or the way the respawn timer works, for example, takes in account the time spent in battle. Currently on ork version 2.17.1. This is the battle victory event which reloads the scene after battle: https://i.imgur.com/uh2iEuJ.png This is the battle start event which changes to the battle scene: https://i.imgur.com/Rhg9bEh.png The only thing I changed from above was disabling the Use Scene ID as you indicated.
I think enabling Remember Combatants should handle this.
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found. If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
I think this is due to the battle taking place in another scene. Or the way the respawn timer works, for example, takes in account the time spent in battle.
Currently on ork version 2.17.1.
This is the battle victory event which reloads the scene after battle: https://i.imgur.com/uh2iEuJ.png
This is the battle start event which changes to the battle scene: https://i.imgur.com/Rhg9bEh.png
The only thing I changed from above was disabling the Use Scene ID as you indicated.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!