murder mystery voting to spawning system

Hello again @Jams sorry for the delay!

I’ve been thinking about this case a lot and I think you are trying to develop a really complex set of interconnected systems in only one device. Let me help you re-structure the process a little bit.

I highly recommend you to slow down a bit and start thinking about the game you want to do in different parts. What does that means? That means it will be a lot easier for you if you divide the game in different systems and then work on them separately.

Also, if you’re still getting comfortable with Verse, I’d recommend starting with smaller systems and learning the fundamentals first before trying to build something this complex. Games like Murder Mystery involve many interconnected mechanics, so taking it step by step will make development much easier and more enjoyable.

Lets start with the separation of parts anyway!

You want people to start in a Lobby Room and wait for certain conditions to trigger the Map Voting Phase. The Lobby and those conditions should be managed with one device.

Then, when that condition is met, you want to start the Voting Phase and send the players to the corresponding map. This Map Voting Phase is a different device.

Once the players are on the voted map, you want to define who will be the murder and who will be the sheriff, which is a different device!

And lastly, you want another device to manage the round/gamplay.

My honest recommendation on this, is to start creating those devices one by one, and don’t start with the next until the one you are working on is completely done. Otherwise you will be carrying errors through all your code and never know what is happning.

There are a lot of tutorials about how to do each part of this game, I made some of them myself! You already have the voting system tutorials with the teleport to new maps. Let me share some other tutorials you can use:

  1. For the lobby, you can start the voting as simple as using a button device or you can create a logic that waits until a certain amount of players are ready as I show on this post: Assign AFK Players to a Team After Delay and Teleport All Players to Team Bases (UEFN Verse) - #2 by BRGJuanCruzMK
    You will need to modify some parts to make it work as you want.

  2. For the murder random selection you can use the same post where you commented the first time: Murder Mystery Style Random Selector - #2 by BRGJuanCruzMK
    You only need to modify it to add the “sheriff” role.

  3. And for the gameplay itself, it completely depends on what you want to do. You can use Round Manager devices with Timers and Item Spawners, or anything you want!.

The Key here is to think it and do it step by step!

And you can post in the forums whenever you have a doubt or need help, of course!

Edit: I completely forgot to mention you have Epic Developer Assistant ! You can ask for help to it and it will guide you! You should give it a try!