What line of script do, and where do,I need to add to RMX-OS main for it to play a BGM in the server selection screen and the login screen?
Find this part of scene_servers
def create_scene
super
# get all server names
server_names = []
RMXOS::Options::SERVERS.each {|server| server_names.push(server.name)}
server_names.push(RMXOS::Data::Exit)
# create server selection window
@command_window = Window_Command.new(224, server_names)
@command_window.x, @command_window.y = 64, 128
@command_window.active = true
@command_window.index = 0
# create server states window
states = []
@server_states.size.times {states.push(RMXOS::Data::ServerOffline)}
@online_window = Window_Command.new(224, states)
@online_window.x, @online_window.y = 352, 128
@online_window.active = false
@online_window.index = -1
and add
$game_system.bgm_play($data_system.title_bgm)
after that.
<3 thank you.
edit: How do I make it stop after the log in screen? It keeps play once the game start? Or would it be easier to just add a auto run 2 page event that stop the current BGM?
look for the part of that sceen where it start disposing windows
after it disposes the last window put