I’ve been trying to use the guard spawner device and new functionality in 25.10 but I can’t get a guard to spawn via Verse with the Spawn() function. Listening for events does work fine, but I need to spawn them programmatically. The documentation says “it will try to spawn a guard”, what does that mean? Why would it fail? How to catch it if it does? and then how to retry until success?
What good is it to add this extra functionality if you can’t spawn them via Verse?
Hey there @GraemeBB I’m sorry to hear this is stopping your progress, I’m going to flag this with the engineering team and hopefully get that working for you soon.
Sorry, I sorted it out and made a tutorial about it as there are some catches to making it work. I don’t think it’s a bug, but it’s definitely something that people will not know for sure. I’ll put this up in the community tutorials section too. The key was to make sure to set a value for the number of guards to spawn, to be higher or at least equal to the amount you will end up spawning.
I’m finding issues with the guard spawner device only spawning a single guard instead of the multiples it was set to. Two weeks ago it worked. Wonder if the issue you are having is similar to what’s is happening with devices.
I"m doing it on the device right now although I will do it in verse if I see further issues. I am doing a couple more tests tonight on a new map to see if it has to do with walls or not.
After endless testing I’ve noticed a bug where if the guard spawner has a mannequin inside of it, changes sometimes wont appear in game after pushing changes or relaunching the session.
I’m currently working on a project which uses a lot of guard spawners and I believe I’ve noticed the same thing. At one point I had to recreated all my spawners to get some changes to stick.