The title is my general question. Are there Game Events or stages of the overall game you can subscribe too? OR override like OnBegin()?
More specifically I have a method for my lobby being triggered in OnBegin() for my lobby events ( not sure if that’ll even work once published) and I want to start other methods On Gameplay Start. Is there a purely Verse way to do this or do I have to use a device like a trigger and subscribe or something like that?
Thanks!!
What are you using to start Gameplay?
Sorry for the delayed response. So the Verse Device/Creative Device is enabled to run OnBegin() when the Game Starts if it is placed in the map. So I will use that along with the devices themselves which often have a setting for when you want to activate them.
I’m going to try running game start with the devices sooner and treat it like pre-game and prevent the player from starting until I’m ready for it with a barrier and custom countdown or something like that. I think other maps are doing something like that. What are you doing?
I’ve mostly used OnBegin() to set up the pre-game state, then let Players press a button to start a round. Once a round ends I reset the game state to ‘pre-game’.
If you want to start the game on a count down you can easy use a timer and subscribe to the timer end event and have the call back function start the game. Or you could just sleep in OnBegin() for how ever long you want to, then start the game.
There’s really not any one answer here, your creativity is your only limit.
1 Like