RPG Maker Forums

Toggle Event Page
2018.01.14
by Shaz

Introduction
This plugin allows you to temporarily disable a page on an event on the current map, and to re-enable it again. It is like the Erase Event command, but works on individual pages instead of the whole event. Like that command, the effect is only temporary - when you leave the map and return, all pages will be enabled again. It works alongside page conditions - the highest numbered page whose conditions are met and has not been disabled will become active.

How to use
Add plugin to your js/plugins folder - name must be Shaz_TogglePage.js - and enable in plugin manager.
Enter TogglePage in a plugin command, followed by optional arguments.
You can use a formula for one or both arguments - just make sure there are no spaces.
The page id refers to what you see in the editor. Tab 1 is the first page id.

Example
TogglePage - toggles the current page of the current event
TogglePage 5 - toggles page 5 of the current event
TogglePage 10 3 - toggles page 3 of event 10 on the current map

Plugin
Download from pastebin
make sure to save it as Shaz_TogglePage.js

Credit
- Shaz

Terms
- free for use in commercial games
- do not post elsewhere - link back to this page

Notes
- This plugin overwrites the Game_Event.prototype.findProperPageIndex function. There will likely be compatibility issues if you have other plugins that overwrite the same function. There may be compatibility issues if you have other plugins that alias the same function - try changing the plugin order.

Latest Threads

Latest Posts

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,455
Members
137,821
Latest member
Capterson
Top