Music Change

Dregonx

TH.net Regular
Reaction score
21
I'm adding in some music, and I just want to know how I can get it to play looping continuously the most efficient way possible.

Then later in the game when you get to a certain part of it, I want the music to change the music it loops to something different, continuously until that event is over with.

And once it is, then back to the normal looping custom music again.

Just need to know how to do this.
+Rep to anyone that can help, thanks. =)
 

Sjaakje

New Member
Reaction score
9
just look how long the music is, add a trigger where you start the music, add a wait for the duration of the song +0.01 seconds and then start the music agian.

During the event, turn off that trigger and start a new music, doign the same trick.
Then when the event is over, turn on the first trigger again and start the music.
 

Dregonx

TH.net Regular
Reaction score
21
just look how long the music is, add a trigger where you start the music, add a wait for the duration of the song +0.01 seconds and then start the music agian.

During the event, turn off that trigger and start a new music, doign the same trick.
Then when the event is over, turn on the first trigger again and start the music.

Thanks =) +Rep to ya!

Although sadly it doesn't work very efficiently when you lag etc. :rolleyes:
 

HeX.16

Isn't Trollin You Right Now
Reaction score
131
I would rather use a periodic for this. Like
Trigger:
  • Time - Every *Song Length* seconds of game time
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top