I am trying to run code whenever my timer succeeds.
It only works the first time.
I’m using the SuccessEvent.Subscribe()
I want it to work infinitely so that it stays subscribed, or runs the code every time, like I say it only works the first time.
Thanks for any help.
StartLobbyTimer():void={
Print("Starting Timer")
timers_lobbby:=FindCreativeObjectsWithTag(timer{})
for(Object : timers):
if(Timer:=timer_device[Object]):
Timer.SuccessEvent.Subscribe(TimerComplete)
}
The TimerComplete Function only gets called once…