class Window_Message < Window_Selectable
SoundFile = "Audio/SE/键盘声1"
WaitTime = 2
alias update_message_sound update_message
def update_message
update_message_sound
if !@waittime
@waittime = WaitTime
elsif @waittime < WaitTime
@waittime += 1
else
Audio.se_play(SoundFile,80)
@waittime = 0
end
end
end
class Window_Message < Window_Selectable
SoundFile = "Audio/SE/键盘声1"
WaitTime = 2
alias update_message_sound update_message
def update_message
update_message_sound
if !@waittime
@waittime = WaitTime
elsif @waittime < WaitTime
@waittime += 1
else
Audio.se_play(SoundFile,80)
@waittime = 0
end
end
end
RMVX的原脚本 就是日式RPG每个字都发出一次音效的那种