Parallel Processing Sounds in Battle

So I have this neat Idea where a player can cast a spell in battle and that spell causes a specific sound to play during battle. But I wanted to go a bit further than just making one single sound byte for the move.


What I ended up doing was creating a common event with several "if, then" statements and a random variable.


What ends up happening is: Player casts "storm"


Move "storm" calls "storm sounds" common event


"storm sounds" common event picks a random variable between 1 and 5


"storm sounds" common event plays a specific stormy sound clip depending on what variable is pulled up


And then a neat sound is played in battle! wooo, sounds great right?


Well...


Here's the thing, when player casts "storm" it's supposed to create a battle long storm. So I wanted the sounds to continue playing from the point it is cast until the battle is over. to do this, I simply picked very long sound bytes, easy right? Well not quite...it would seem that in a battle, when you call up a sound effect to play, the entire battle is put on hold until that particular sound if finished playing.


I thought, no big deal right? I'll just make it so the event is processed in parallel! that way the player can continue on with their battling business even while the neat storm sounds are happening. Buuut RPG maker had different plans... correct me if im wrong, but there is no way to get an event to process in parallel during a battle?


So my question is this:


Is there a way to have a common even be processed in parallel during a battle? If not, is there a plugin or script that someone has made to allow this? I've searched myself but haven't found any mention of it..I did read in another post that Himeworks http://himeworks.com/ had created something like this, but after a good long while of scouring his site, I came up empty handed.


Has anyone had this issue before? Has anyone come up with a way around the problem?
Parallel processes are stopped on all scenes, including the battlescene. They only work on map.


However, I think your problem is something else - a sound effect should never stop the battleprocessing.


So best guess is that you're doing something wrong with your events - please show us screenshots of all of them so that we can see where you made mistakes.
Ahhh...I feel rather dumb


You see, I used the "back ground sound" folder to put my sound effects in. When I called the effects up, RPG maker would automatically loop them. So I added in a wait timer and then told the background sound to fade out. The battles weren't waiting for the sound to complete, they were waiting on the wait timer 
I had plugged in.


I just realised that if I put these sound effects into the "sound effects" folder, RPG maker only plays them once making the wait timer unnecessary and keeping the battles running smoothly ^.^;

Original thread: https://forums.rpgmakerweb.com/threads/parallel-processing-sounds-in-battle.64002/