public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

[Tutorial] 姫Hime’s Page Condition Script

BMM Archive · July 15, 2026

Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.

Original Source

  • Original title: [Tutorial] 姫Hime’s Page Condition Script
  • Original author: Sinweaver
  • Original date: October 10, 2015
  • Source thread: https://forums.rpgmakerweb.com/threads/tutorial-himes-page-condition-script.45708/
  • Source forum path: Game Development Engines > RPG Maker Tutorials > RMVXAce Tutorials

Summary

Anyone who has played the Pokemon Crystal on GBA back then would probably remember that cave where we can find a Lapras every Friday. The question is, how can we create such event on RPGmaker easily without having to use (potentially complex) parallel processing, self switches, and/or some sort of variables/switches to check/keep track of certain condition(s)? One way to achieve this easily is to use this script. RPGmaker does not come with a built in clock/time system that helps keep track of minute, seconds, hour, days, etc. There is...

Archived First Post

Anyone who has played the Pokemon Crystal on GBA back then would probably remember that cave where we can find a Lapras every Friday. The question is, how can we create such event on RPGmaker easily without having to use (potentially complex) parallel processing, self switches, and/or some sort of variables/switches to check/keep track of certain condition(s)? One way to achieve this easily is to use this <page condition> script.

RPGmaker does not come with a built in clock/time system that helps keep track of minute, seconds, hour, days, etc. There is a timer to keep track of how long we have spent playing, but that's not what we are looking for. I am pairing Hime's Page Condition script with Vlue's Advanced Time script in order to achieve what I am trying to demonstrate in this tutorial.

Table of Contents:

  • What is Hime’s Page Condition script?
  • How to install Hime’s Page Condition script?
  • How to use Hime’s Page Condition script in your own game?
  • Sample Code + demo included

Notes:

  • Hime's scripts are free to use in non-commercial projects. Please contact Hime if you wish to use these scripts in a commercial projects. The Terms of Use can be found here, and you can contact Hime directly by clicking here.
  • Vlue's scripts are free to use in non-commercial and commercial project. Credit is needed and donation is appreciated.


What is Hime’s Page Condition script?

The RPG maker VX Ace event page comes with limited amount of conditions that must be met in order for the event to spawn on the map. These conditions are limited to switch, variable, self switch, item and actor. What if we want to use a custom condition that comes with a script, or what if we want to check if the party has x amount of gold before the event will spawn? We will have to use additional event page that will be activated using a self-switch from a parallel process page. This can potentially be confusing for users.

Once we have Hime's Page Condition script installed, we can convert conditional branch into event condition through the use of a comment.

How to install Hime’s Page Condition script?

Get the script from Hime’s website, open the script editor (F11) and insert it under the “▼ Materials section” and above the “▼ Main Process section”. It is the same as any other script. Remember to give the script the appropriate name so that you can find it easily when installing add-on to this script later. If you are also using Hime's Negated Conditional Branch script, this script must be placed under it.

How to use Hime’s Page Condition script in your own game?

This script can be used in Event, Troops, and Common Event page.

To create a custom event condition, first we need to create a comment with the phrase

<page condition>Then create a conditional branch event right after the comment. The conditional branch will be converted into a page condition required in order for the event to spawn. If you are unsure where to find "Comment" or "Conditional Branch" in the event creation page, please refer to the following image:

page1_zpsbc5gtc7i.jpg


Event Page

Once you have added the <page condition> comment, create a conditional branch with the condition for the event to spawn.

d_zpsrtdmfsuk.jpg


 

The following is the alternative solution to the same quest item that player have to interact with, except we are not using the Page Condition script

a_zpsc3ofbbpa.jpg


 

 

 

 

 

Troop Event Page

This example is used together with Hime's Enemy Reinforcement script. A rare slime only will spawn if Actor 1, Eric, job is Soldier, AND the player has 0 gold, AND Eric is equipped with a Gigantes Axe. Definitely one way to include a hidden rare spawn or something.

page4_zpsfpvgpseu.jpg


Common Event page

In this example, we are going to change the weather IF actor 1, Eric, is a soldier AND after the player receive a quest.

b_zpszkiqorbj.jpg


Sample Code

Remember the example I mentioned at the start about Pokemon Crystal and the Lapras cave?

c_zpssesiga4q.jpg


e_zpsk8wctrjn.jpg


If you want to experience it first hand, I have included a demo for you to try it out yourself. Click here! To check what time it is in-game, use the shift key to turn the clock on/off.

Downloads / Referenced Files

Log in to download

Log in, then follow the RPG Maker Developers Group to see these download links.

Log in to download

License / Terms Note

Hime's scripts are free to use in non-commercial projects. Please contact Hime if you wish to use these scripts in a commercial projects. The Terms of Use can be found here, and you can contact Hime directly by clicking here. Vlue's scripts are free to use in non-commercial and commercial project. Credit is needed and donation is appreciated. What is Hime’s Page Condition script? The RPG maker VX Ace event page comes with limited amount of conditions that must be met in order...

Referenced Images / Attachments

page1_zpsbc5gtc7i.jpg
page1_zpsbc5gtc7i.jpg
d_zpsrtdmfsuk.jpg
d_zpsrtdmfsuk.jpg
a_zpsc3ofbbpa.jpg
a_zpsc3ofbbpa.jpg
page4_zpsfpvgpseu.jpg
page4_zpsfpvgpseu.jpg
b_zpszkiqorbj.jpg
b_zpszkiqorbj.jpg
c_zpssesiga4q.jpg
c_zpssesiga4q.jpg
e_zpsk8wctrjn.jpg
e_zpsk8wctrjn.jpg
Creator Claims / Removal

If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.

#039#rpg-maker-archive#vxace-tutorials

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar