Pause Music Problem....

sebmacflysebmacfly Member Posts: 1,018
Hello!

I'm having troubles using the "pause music" behavior...
What i need to do : Pause the music for 1,5s when my actor hit an other object in the scene (to hear good the sound). After that 1,5 seconds, i need to resume the music...

What i'm doing :
Rule
When actor1 collide with actor 2, play sound, change attribute PauseMusic to 1, timer after 1,5s change attribute PauseMusic to 0.

In the music player actor :
Rule
When PauseMusic=0, Play music "xxxx"
otherwise, Pause music.

(The pause music work good, but when the PauseMusic attribute turn to 0, the game music don't resstart...)
What i'm doing wrong?

Thanks in advance!

Comments

  • sebmacflysebmacfly Member Posts: 1,018
    I'ts ok, i used the play music behavior... and "resume music"
Sign In or Register to comment.