Randomizing system sound effects

I'm a big fan of randomizing things, so I was wondering if it were possible to perhaps use a script call to get MV to choose between a random set of SE's to use for, let's say, save game.

I know this feels like a plugin requesty sort of thing but every now and then someone comes up with a solution that just uses script calls, and there is much rejoicing.

Thank you! :LZSgrin::LZSjoy::LZSgrin:
bam!

Script call method to play random sound effect

Code:
let var = ["1.ogg","2.ogg","3.ogg","4.ogg"][~~(Math.random()*4)];
AudioManager.playSe({name: `${ran}`, pan: 0, pitch: 50, volume: 70});

//or other suggest

Code:
const list = ["1.ogg","2.ogg","3.ogg","4.ogg"];
AudioManager.playSe({name: `${list[~~(Math.random()*list.lenght)]}`, pan: 0, pitch: 50, volume: 70});

source: https://forums.rpgmakerweb.com/inde...und-effect-via-script-call.94121/#post-852391

Not sure there's a script call specifically for random sound on saving. You may request a plugin for that
bam!


This is an almost insanely perfect find, thank you! The creator requires to request access to the file but if that goes through this ought to be solved -- will report back ASAP!
So before I post a new thread in the plugin request forum, I wanted to confirm whether or not anyone following here had access to the Lecode Random Audio (and necessary parent) plugin. Their plugins seem to be behind an access request wall, and despite attempts to reach them, I haven't been able to secure access.

If anyone has access to these two plugins, please let me know, otherwise I will request to move this thread to plugin requests for a way to duplicate the functionality of their plugin.

Thanks! :LZSgrin::LZSjoy::LZSgrin:

Edit: Got it, solved!
So before I post a new thread in the plugin request forum, I wanted to confirm whether or not anyone following here had access to the Lecode Random Audio (and necessary parent) plugin. Their plugins seem to be behind an access request wall, and despite attempts to reach them, I haven't been able to secure access.

If anyone has access to these two plugins, please let me know, otherwise I will request to move this thread to plugin requests for a way to duplicate the functionality of their plugin.

Thanks! :LZSgrin::LZSjoy::LZSgrin:

Edit: Got it, solved!
How'd you manage to get a hold of it? I'd like it too!

VelvetMMO, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/randomizing-system-sound-effects.145388/