11-01-2022, 01:38 AM
(10-31-2022, 09:59 PM)Steel Beast 6Beets Wrote: Quick question (God, I still miss the shoutbox): Is there a script call to close the game?
Yep. It's just exit if you wanna just close the game fast. No fuss. No muss.
Sure, Scene_Title has this method:
Code:
#--------------------------------------------------------------------------
# * Command: Shutdown
#--------------------------------------------------------------------------
def command_shutdown
# Play decision SE
$game_system.se_play($data_system.decision_se)
# Fade out BGM, BGS, and ME
Audio.bgm_fade(800)
Audio.bgs_fade(800)
Audio.me_fade(800)
# Shutdown
$scene = nil
end
Code:
#--------------------------------------------------------------------------
# * [Shut Down] Command
#--------------------------------------------------------------------------
def command_shutdown
close_command_window
fadeout_all
SceneManager.exit
end
But using exit just ... does a quick "BAMF!" straight out.