Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Game over

I'm making a game in rmvx and i want that there won't be a gameover after I die in a random battle... I don't see anyway of coding it other then scripts...
Help please =o

edit: I want a common event instead of a game over. I forgot to add that part
 
My first script snippet for VX, so if this doesn't work for you, let me know (only bought VX yesterday lol).

Code:
class Scene_Gameover
  alias_method :seph_cego_scngo_start, :start
  def start
    seph_cego_scngo_start
    $game_map.interpreter.setup($data_common_events[id].list)
  end
end

Just replace where it says id with your common event id you wish to run. (Not tested)
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top