Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Neikke on October 18, 2017, 11:28:12 AM

Title: Show Wait action's countdown as slider/bar[SOLVED]
Post by: Neikke on October 18, 2017, 11:28:12 AM
I have Wait action set to TimeToWait global variable. I'm setting a Float value for this TimeToWait variable to be 5 at runtime start. What I would like to do is show this countdown visually with slider.

So I hooked up a slider with TimeToWait as Slider's Value parameter. When I have my Wait action activated in State, I do Float Add: -1 to subtract from 5. Is it the right approach or are there better ways? Thanks!
Title: Re: Show Wait action's countdown as slider/bar
Post by: Deek on October 18, 2017, 12:00:22 PM
You are looking for the "Countdown Timer" Action (available in the Ecosystem or my attachment).
Title: Re: Show Wait action's countdown as slider/bar
Post by: Neikke on October 19, 2017, 06:45:15 AM
You are looking for the "Countdown Timer" Action (available in the Ecosystem or my attachment).

That's exactly what I needed!!! Thank you so much!!!