I was considering letting players choose what sound is used for confirming and denying messages, but I'm not sure if there's a way to do this? Sorry if I've just missed an obvious option, but I can't find anything
Change confirm and cancel sounds in-game?
RPG Maker MV SupportHi there!
You can do it by events, it is a little trick. But you can.
You just have to change the name of the Ok and Calcel sounds with script calls:
The thing is, that this will reset every time you start/load a new game.
To pass through this, you can set the Ok sound and Cancel sound name inside variables.
And either have a parallel common event running all the time, setting them to this variable value:
For this, you will need to find a way to add to these variables the name of the new sound effects the player choose. It must be a string, a word inside quotes.
And you will need to use the script field in the control variable command.
Note: The "name", is the filename, without extension.
Or you will need a plugin for that.
You can do it by events, it is a little trick. But you can.
You just have to change the name of the Ok and Calcel sounds with script calls:
JavaScript:
$dataSystem.sounds[1].name = X // OK sound
$dataSystem.sounds[2].name = X // Cancel sound
The thing is, that this will reset every time you start/load a new game.
To pass through this, you can set the Ok sound and Cancel sound name inside variables.
And either have a parallel common event running all the time, setting them to this variable value:
JavaScript:
$dataSystem.sounds[1].name = $gameVariables.value(ID)
$dataSystem.sounds[2].name = $gameVariables.value(ID)
For this, you will need to find a way to add to these variables the name of the new sound effects the player choose. It must be a string, a word inside quotes.
And you will need to use the script field in the control variable command.
Note: The "name", is the filename, without extension.
Or you will need a plugin for that.
Original thread: https://forums.rpgmakerweb.com/threads/change-confirm-and-cancel-sounds-in-game.144857/