RPG Maker Forums

Presenting 2 scripts here:

[1] Is from a request here, allowing developers to control how event continue to run after save/load using a conditional branch & switch.

[2] Is a way to abort any running events as soon as the game loaded from a request here. (It's originally meant for a hot fix as shown in that request)

Since both scripts are useful and pretty high on demand, i am putting them both here.

Features:

[1] A way to control how the event continue to run after mid-save and loading.

[2] A permanent way to abort event right after loading.

How to Use:

For script 1:

[1] Set up the Switch you with to use in the script

[2] Turn on the Switch before SAVE

[3] Conditional Branch after calling SAVE in an event to check if the switch is On/Off

[4] Switch is automatically turned off after load so the event can run the Off condition after loading.

For script 2:

[1] Plug & Play, will automatically abort any running  events after loading.

Warning note: This script will disable the design of continuous battle/story-line in between event saves.

*Only choose to use one of the above script in a single game project.

Compatibility:

Both scripts should work fine along with other custom scripts. Unless a custom script placed below them is using an overwrite method. When that happens, simply move this script below that custom script will do.

Terms of Use:

Free for use in both Commercial & Non-commercial projects.

Script 1: Event after load Controlled by Switch

#==============================================================================# ■ Meow Face After Load Switch#------------------------------------------------------------------------------# Author: Meow Face#==============================================================================# How to Use:# [1] Set switch to true before save# [2] Run conditional check on switch true/false, if true, continue the event, if false abort the event# [3] Load the game and try, the switch will be automatically turn off every time you load the game.#==============================================================================module MeowFaceAfterLoad#==============================================================================# Settings Area#==============================================================================    SWITCH1 = 1 #Switch number to use  SWITCH2 = 2 #Switch number to use (Set to 0 if not used)  #==============================================================================# End of Settings Area# Edit anything past this line at your own risk#==============================================================================endclass Scene_Load < Scene_File  alias mf_load on_load_success  def on_load_success    $game_switches[MeowFaceAfterLoad::SWITCH1] = false    $game_switches[MeowFaceAfterLoad::SWITCH2] = false    mf_load  endend
Script 2: Abort all events after Load

Code:
#==============================================================================# ■ Meow Face Abort Events after Load (Hot-Fix)#------------------------------------------------------------------------------# Abort all running events after loading#==============================================================================# How to Use:# Plug & Play, Put this script below Material and above Main#==============================================================================class Game_Interpreter  attr_reader   :list  attr_accessor   :indexendclass Scene_Load < Scene_File  alias meowface_load on_load_success  def on_load_success    meowface_load    $game_map.interpreter.index = $game_map.interpreter.list.size  endend

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,035
Messages
1,018,450
Members
137,820
Latest member
georg09byron
Top