An open library of RPG Maker MZ plugins, powered by the community.

PGMZ - The Community-Driven Plugin Library for RPG Maker MZ

MZ plugins

MNKR T Mevent Region Ex MZ - MNKR_TMeventRegionExMZ.js

Plugin desc : You can specify whether or not events are allowed to pass through in the region, and you can control the self-switch when passing through an event.

License : MIT License

Author : munokura

Website : http://x.com/munokura

Desc page : https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMeventRegionExMZ.js

File name : MNKR_TMeventRegionExMZ.js

Help of plugin :

@target MZ
@url https://raw.githubusercontent.com/munokura/MNKR-MZ-plugins/master/MNKR_TMeventRegionExMZ.js
@plugindesc You can specify whether or not events are allowed to pass through in the region, and you can control the self-switch when passing through an event.
@author munokura
@license MIT License

@help
Usage:

You can specify whether an event is allowed or denied access by region, and
control switches when the event passes through.

You can change the movable region for each event using the memo tag.

Please use this after customizing the movable region group in the plugin
parameters.

For example, if you set the value of movableRegion1 to 1, 2, or 3 and add the
tag <movableRegion:1> to the event’s memo field, the event will only be able
to move to regions 1 through 3.

Memo Tag (Event):

<movableRegion:1>
Sets the movable region group to 1.

<stepSwitchOnA:64>
When the event moves and steps on region 64, turn on self-switch A.

To use a self-switch other than A, use stepSwitchOnB.

<stepSwitchOffB:65>
When the event moves and steps on region 65, turn off self-switch B.

The above tags also work when written in the ”Annotation” event command.
If there are tags in both the memo field and the annotation, the annotation
takes priority.

Plugin Command:

regionLocate 3 20
Moves the location of event 3 to any coordinate within region 20.

If the event number is 0, it targets the event itself that executed the
command; if it is -1, it targets the player.

# Contact Information
This is a plugin originally created for RPG Maker MV that has been ported to
MZ.
Please contact the modifier for any inquiries.

# Terms of Use
MIT License.
http://opensource.org/licenses/mit-license.php
You may modify and redistribute this without permission, and there are no
restrictions on its use (commercial, 18+, etc.).

@param movableRegion1
@text Movable Region Group 1
@desc Event movable region group setting No. 1
@type string

@param movableRegion2
@text Movable Region Group 2
@desc Event movable region group setting No. 2
@type string

@param movableRegion3
@text Movable Region Group 3
@desc Event movable region group setting 3
@type string

@param movableRegion4
@text Movable Region Group 4
@desc Event movable region group setting 4
@type string

@param movableRegion5
@text Movable Region Group 5
@desc Event movable region group setting 5
@type string

@param movableRegion6
@text Movable Region Group 6
@desc Event movable region group setting No. 6
@type string

@param movableRegion7
@text Movable Region Group 7
@desc Event movable region group setting No. 7
@type string

@param movableRegion8
@text Movable Region Group 8
@desc Event movable region group setting No. 8
@type string

@param movableRegion9
@text Movable Region Group 9
@desc Event movable region group setting No. 9
@type string

@param movableRegion10
@text Movable Region Group 10
@desc Event movable region group setting 10
@type string

@command regionLocate
@text Move an event
@desc Moves the event to a location somewhere within the coordinates of the region ID.
@arg EventId
@text Event ID
@desc Specifies the event to move.
@type number
@default 0
@min -1
@arg RegionId
@text Region ID
@desc The destination region ID.
@type number
@default 1
@max 255

スポンサードリンク

-MZ plugins

Copyright© PGMZ - The Community-Driven Plugin Library for RPG Maker MZ , 2026 All Rights Reserved.