Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: blackant on July 21, 2017, 08:55:27 AM
-
Hello everyone,
i'm acually working on a juckbox wich will play a random music at start.
but because music are all different i would like that when one finishes another random music starts.
so how can i do that ?
-
well i finally fund a way by dragging the audio inside action, i can get the property "is Playing", so testing is bool allow me to exit the action when audio ended.
-
you could also use audio play, theres and event option there, it wouldn't go to the next state until the audio is finished, or you audio play advanced in the ecosystem.