Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
BlackAlpha

Playing music with trigger

Recommended Posts

I'm trying to play a music track with a trigger but I don't know what code I should use for the name of the track. I'm trying to play "Seventh - I am gonna fly". I'm using this trigger:

playMusic ["nameoftrack?", 30]

I got another question. How do I loop music?

Share this post


Link to post
Share on other sites

Isn't already the official music 'inside' the trigger, so you don't need any command? Just click Effects button in the trigger, then go to Music section, and pick the right track.

For looping the music I guess you'll need a simple looping script. But what are you trying to do, mate; drive us all nuts with a constant repeating of the same tune?   whistle.gif  crazy_o.gif  tounge2.gif

Share this post


Link to post
Share on other sites

I know it's in "effects" but that's not what I need.

"For looping the music I guess you'll need a simple looping script."

Uhh... That's very usefull info...

Share this post


Link to post
Share on other sites

If you know that, where's the problem then?

About your second question:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

#loop

playMusic "7thImGonnaFly"

~ music lenght time

goto "loop"

Share this post


Link to post
Share on other sites

For 7thImGonnaFly you will need a delay of 244 - give or take a bit.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×