I’m trying to set up a lobby timer, but when it reaches zero, it is supposed to call a function to start, or not start the game.
It works only the first time it is called.
I am using Verse, and subscribing to the lobby timer.
MyLobbyTimer := FindCreativeObjectsWithTag(lobby_timer{})
for (Object : MyLobbyTimer):
if (MyLobbyTimerObject := timer_device[Object]):
MyLobbyTimerObject.SuccessEvent.Subscribe(LobbyTestTeams)
I’ve tried putting this code to be called only once, or having it called every time.
Either way - the SuccessEvent.Subscribe only works one time, and LobbyTestTeams only works one time.
Any help is appreciated!