Epic Boss Music

Started by The Average Gamer on Tue, 08/13/2019 - 15:39

Topic category: User side tutorials

Last seen on 19:16, 6. Nov 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Epic Boss Music
Tue, 08/13/2019 - 15:39

So I have some epic boss music that I want to play when a boss is alive and stop when he is dead. Is there any way I can do this?

Last seen on 01:59, 9. Nov 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
In the mob procedure section…
Tue, 08/13/2019 - 17:36

In the mob procedure section, you can have a procedure that executes when the mob first spawns.  For your procedure, you can find the play sound block in the world management section.  However, I don't know if there is a way to stop or replay your music once the boss is killed, or if they aren't killed yet.

Last seen on 01:59, 9. Nov 2019
Joined Jul 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oh, you also have to go to…
Tue, 08/13/2019 - 17:38

Oh, you also have to go to resources/sound files and import your epic boss music.

Last seen on 21:32, 9. Oct 2019
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Here's how one could use…
Mon, 08/19/2019 - 03:24

Here's how one could use boss music when it comes to mobs, both start and stop.

 

On initial mob spawn
- Use this block:

Play at X:(x) Y:(y) Z:(z) level:(Num) pitch:(Num) sound:(Sound)

 If it's a custom sound, I believe the sound is played based on what category it is in, such as master, ambient, player, neutral, hostile, block, record, and music.

When mob dies
- There's not necessarily an official stopsound block, however you could use this block:

Execute command /

 and use this command:

stopsound @a <sound category> <sound>

This should work for what you want to have happen, but I could be wrong.