public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MZPOG_AlertRegion: Enables / disables switches by positioning the Player

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: POG_AlertRegion: Enables / disables switches by positioning the Player
  • Original author: Logica
  • Original date: October 6, 2020
  • Source thread: https://forums.rpgmakerweb.com/threads/pog_alertregion-enables-disables-switches-by-positioning-the-player.128335/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMZ)

Summary

​ License: Free for personal or commercial use. Context: In games where player positioning is important for gameplay to trigger events depending on the player's position, it can be a tiring and repetitive task to exhaustion if all the tasks that involve this are done only by event commands. Description: This script allows the developer to activate / deactivate switches when the player enters a land marked as a preconfigured region.

Archived First Post

Protected download

License: Free for personal or commercial use.


Context: In games where player positioning is important for gameplay to trigger events depending on the player's position, it can be a tiring and repetitive task to exhaustion if all the tasks that involve this are done only by event commands.

Description: This script allows the developer to activate / deactivate switches when the player enters a land marked as a preconfigured region.

How to use this script: No plugin configuration is required. After activating it in the RPG MAKER MZ it will be ready to be used!

Configuring the map regions: For each map, the developer can configure up to 255 different regions. Setting up a region is quite simple, as long as the developer inserts a tag in the “Note” field in the Map settings where he wants the alert to work. The following theme tag structure:


<alertRegionID:switchId, value>​


  • <alertRegion is the tag suffix
  • ID is the region number
  • switchIdis the number of the database switch that will be manipulated.
  • value is the value to be assigned to the switch. It can be true, false or temp.
alert2.jpg


Alert types: There are basically two types of alerts, a permanent alert and a temporary alert

2) Permanent alert: in this type of alert, a database switch is activated or deactivated when the player moves to a terrain marked as a pre-configured region. When he leaves this land, the state of the switch will not be changed.

alert4.jpg

To set up a Permanent Alert, assign "true" or "false" to the value in the tag configuration.


Example 1: ACTIVATE switch 1 in the database when the player enters region 4.

<alertRegion1:4,true>

Example 2: DISABLE switch 2 from the database when the player enters region 10.

<alertRegion2:10,false>​


2) Temporary Alert: In this type of alert, a database switch is ON as long as the player remains in a terrain marked as a pre-configured region. When he leaves this terrain, the switch is turned off.

alert3.jpg


To configure the temporary alert tag, assign “temp” to value in the tag configuration.

Example 3: Set switch number 3 in the database to be activated while the player remains on a terrain marked as region 89.
<alertRegion89:3,temp>​

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

License: Free for personal or commercial use. Context: In games where player positioning is important for gameplay to trigger events depending on the player's position, it can be a tiring and repetitive task to exhaustion if all the tasks that involve this are done only by event commands. Description: This script allows the developer to activate / deactivate switches when the player enters a land marked as a preconfigured region. How to use this script: No plugin configuration is required....

Referenced Images / Attachments

alert.jpg
alert.jpg
alert2.jpg
alert2.jpg
alert4.jpg
alert4.jpg
alert3.jpg
alert3.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#rmmz#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar