Sound effect when "confirming" a message?[resolved]

Started by Zexion, July 28, 2011, 06:37:09 am

Previous topic - Next topic

Zexion

I have taken a loooong brake from rpg lol, but I'm kinda back and I need this add on. In most games after a message is disaplayed and the user clicks the confirm button, it will play a sound effect and go into the next message. I would like a script or method of doing this in my game aswell...

I could do it by events playing a sound effect after each message, but that will leave a chance of forgetting one. Is there any other way to do this?

If you want an example(or need it) just open a project, type a message and add a sound effect after it. That is the effect i want without having to spam up my events with that command.

Twb6543

July 28, 2011, 07:20:00 am #1 Last Edit: July 28, 2011, 08:49:52 am by Twb6543
In Rpg Maker Vx go to Window_Message and add a line like Sound.play_NAME onto line 259 (Check the Module Sound for possible sounds) this is played on the closing of a message (when it goes to a new one or closes).

In Rpg Maker Xp go to Window_Message and add a line (Edit: Whoops put like instead of line) like $game_system.se_play($data_system.NAME) onto line 42 (Check the Help guide on RPG::System for possible sounds) or use $game_system.se_play(NAME) to add any sound for the closing of a message.
If you put a million monkeys at a million keyboards, one of them will eventually write a Java program.
The rest of them will write Perl programs.

Zexion