Hello
i did a countdown and it should start at 10 and end when TimeLeft is 0.
But its not working.
Would be cool if can tell me what i did wrong
Screenshot:
Cheers,
Hello
i did a countdown and it should start at 10 and end when TimeLeft is 0.
But its not working.
Would be cool if can tell me what i did wrong
Screenshot:
Cheers,
Try this
Event Begin Play -->(set countDown = 10)β> (Set Time Left = CountDown)
Tick Event -->(Set TimeLeft = TimeLeft-DeltaSeconds)β>(Set ElapsedTime = CountDown -TimeLeft)
Thanks for your reply.
I did it like you wrote, the problem is that the countdown isnt starting at 10 and goes down to 0.
When i start the game its instantly shows me this log:
This is the updated blueprint
why you are looping tick event , itβs a looping event
replace whileloop by : Branche
Ok, now it works.
Thanks dude.