0
Answered

counter condition play audio and blink the visible counter

Jamie Stevens 10 aastat tagasi uuendaja Inna Komarovsky 10 aastat tagasi 0
I have a counter that is visible.
I applied a conditions that display the numbers up to 5.
When the condition is true, an audio plays and I would also like the final number 5, to blink. So far, only the blinking is working. The audio will not play when I have the blinking behavior added.

Vasta

Vasta
Answered
Hi Jamie,
I tried this out, and it should work if you chain the two behaviors. First, the PlayAudio should happen when the condition is true, and the Blink behavior can be chained after it, without a condition. The two should happen at the same time, because when something is chained to happen after a PlayAudio behavior it does not wait for the audio to finish.
Vasta
Answered
Hi Jamie,
I tried this out, and it should work if you chain the two behaviors. First, the PlayAudio should happen when the condition is true, and the Blink behavior can be chained after it, without a condition. The two should happen at the same time, because when something is chained to happen after a PlayAudio behavior it does not wait for the audio to finish.