How can I make an enemy's roar sound effect to play just when a battle starts?

I want a sound to be played just after triggering a random battle and before the battle command windows appear on screen, in the same way as the pokemon cry sound in Pokemon battles. I also want each type of enemy to have it's own sound.

I tried to use a command to play a sound effect in an enemy's battle event page but it plays right after the battle command window shows up on the battle screen, not before...
you'll need a plugin for that, no other chance.

I think the best chance might be to ask for one that processes a common event just before the random battle - that would have many uses, and such a script was made for VXA once (from Tsukihime).

Requesting something similar for MV should be simple.
By default a troop event with "Condition: Turn 0, Span: Battle" will run once per battle, after emerge messages ("Slime approaches!") but before the first input phase.

If you want it to happen earlier, then I think Andar is correct: you'd need a plugin.
I want a sound to be played just after triggering a random battle and before the battle command windows appear on screen, in the same way as the pokemon cry sound in Pokemon battles. I also want each type of enemy to have it's own sound.

Made a plugin for you 😉
Tada!

Place Enemy Notetag like this...
Example:
<BattleCry:{"name":"Crow","volume":100,"pitch":100}>
Spoiler
1675911230858.png

Enjoy ☺️ Seems to work as it should from my brief tests. Let me know how it goes 🙂
Made a plugin for you 😉
Tada!

Place Enemy Notetag like this...
Example:
<BattleCry:{"name":"Crow","volume":100,"pitch":100}>

Enjoy ☺️ Seems to work as it should from my brief tests. Let me know how it goes 🙂
Great, it works!
Thank you very much, ct_bolt! It's just what I wanted :LZSexcite:
Great, it works!
Thank you very much, ct_bolt! It's just what I wanted :LZSexcite:
Yay! Very great to hear ☺️
No prob. Glad to help out 🙂

Happy Game Making! :LZSproud:

Original thread: https://forums.rpgmakerweb.com/threads/how-can-i-make-an-enemys-roar-sound-effect-to-play-just-when-a-battle-starts.154800/