RPG Maker VX Ace
Gameover Events
Introduction
This script allows you to replace the default gameover scene with an event. This gives you more control over how the gameover scene should process.
A gameover event is a common event and is assigned to different objects. There are several different scopes of gameover events.
-Troop gameover events. These occur when you gameover during battle.
-Map gameover events. These occur when you gameover on the map.
-System gameover events. If this is set, it will run instead of the above
Screenshots
The Code
License Terms
Attribution 3.0 Unported - You must attribute the work in the manner specified by the author or licensor. Commerical use allowed.
Instructions
Installation
Place this below Materials and above Main.
Usage
To create a troop gameover event, create a comment of the form
<gameover event: event_id>
To create a map gameover event, in the map’s notebox, tag it with
<gameover event: event_id>
To set a system gameover event, make the script call
set_gameover_event(event_id)
Where the `event_id` is the ID of the common event that will run as the gameover event. If the system event is 0, then either the troop or map events will run. If you want to force the default gameover screen, set the ID to -1
Note that you need to press the C button again after the event finishes to go back to the title screen (if your event does not handle this)
Credits & Thanks
Hime Works