0
Beantwoord

counter condition play audio and blink the visible counter

Jamie Stevens 11 jaar geleden bijgewerkt door Inna Komarovsky 11 jaar geleden 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.

Antwoord

Antwoord
Beantwoord
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.
Antwoord
Beantwoord
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.