WORA RETRY + CHECKPOINT SYSTEM BY ADON237

RPG Maker VX

Checkpoints based on variables for MAP ID, HERO X, and HERO Y!

  • Adon237
  • 01/12/2012 12:56 AM
  • 2198 views
So! Wora's battle retry allows you to attempt battle again, which is quite nice, but a slightly new addition has been added!
CHECKPOINTS! Even though you can just reboot your game and start from a save, you can have other areas as checkpoints so you can areas a player can resume from for convenience.
An Example:
You have a huge dungeon and a save at the beginning, but the player is halfway through with no saves available, and BAM! GAME OVER! If you don't want to piss your player off, you can have checkpoints in your dungeon you can access through the GAMEOVER Scene. A sample event:
TEXT: You have reached a checkpoint.
CONTROL VARIABLE: 101(LASTCHECKPOINT_VAR) = Player's MAP ID
CONTROL VARIABLE: 102(CHECKX) = Player's MAP X
CONTROL VARIABLE: 103(CHECKY) = Player's MAP Y
TEXT: Checkpoint set.
CONTROL SELF SWITCH: A = ON

There's a sample of how that will work. In the script set the LASTCHECKPOINT_VAR to the variable ID you want to manage the MAP ID you are transferred to when you select the "RETURN TO LAST CHECKPOINT" option.
Then, set CHECKX to the variable you want to manage the X position to teleport the player to when they select the "RETURN TO LAST CHECKPOINT" option.
Lastly, set CHECKY to the variable you want to manage the Y position to teleport the player to when they select the "RETURN TO LAST CHECKPOINT" option.
Install below MATERIALS