public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MVRegionEvents on OK-Button - [UPDATE] Version 2.1 - Trigger if approaching Regions & Specify if Player is allowed moving

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: RegionEvents on OK-Button - [UPDATE] Version 2.1 - Trigger if approaching Regions & Specify if Player is allowed moving
  • Original author: ST0RMTiger
  • Original date: September 27, 2021
  • Source thread: https://forums.rpgmakerweb.com/threads/regionevents-on-ok-button-update-version-2-1-trigger-if-approaching-regions-specify-if-player-is-allowed-moving.140832/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

RegionEventsOnOKButton v2.1 ST0RMTiger​ Introduction This plugin lets you define regions where Yanfly RegionEvents are only called when the player stands in this region and is pressing "OK", or when a region is approached (with/without button press).

Archived First Post

RegionEventsOnOKButton v2.1
ST0RMTiger

Introduction
This plugin lets you define regions where Yanfly RegionEvents are only called when the player stands in this region and is pressing "OK", or when a region is approached (with/without button press).

Features
Define selected Yanfly RegionEvents to be called only after pressing "OK".

You define these regions in the plugins parameters. Each region can be defined independently to function "normal" (exactly as in Yanflys plugin") or to trigger as defined.

[UPDATE]
Additional Features of Version 2.1

Made it possible to specify if player should stop moving while executing the common event.

[UPDATE]
Additional Features of Version 2.0

made it possible to specify 4 types of region interaction:
  • underPlayer: same as no definition set for the corresponding region (you could leave that region blank also)
  • underPlayerOnOK: same as a "true" for a region in version 1.0
  • approachingRegion: (NEW) Event triggers if player faces region infront but is not within that region (of same type) already
  • talkingToRegion: (NEW) Event triggers if player "talks" to region meaning standing infront of it and hitting button OK
NOTE: I had to change the way in which the plugin is configured, so i exchanged the screenshots. If you switch from Version 1 to Version 2, you have to set everything up from blank.

Screenshots
Plugin order
pluginOrder.PNG


Region Definitions
1633765190318.png


How to Use
This plugin requires Yanfly RegionEvents to function.

Place this plugin right below the Yanfly Plugin.
Make a new entry in the Parameter "RegionConfig" for each Region you want to change the trigger for.

Demo
I made a short demo to showcase the functionality of the plugin.

Download
Download Version 2.1

Terms and Credits
This plugin may be used in every rpgmaker project, even in commercial and adult-themed games.
You have to keep the license. You have to credit ST0RMTiger.
I do not offer any warranty. But if you need help, just ask.

Best wishes,
ST0RMTiger

Features Mentioned

  • Define selected Yanfly RegionEvents to be called only after pressing "OK".
  • You define these regions in the plugins parameters. Each region can be defined independently to function "normal" (exactly as in Yanflys plugin") or to trigger as defined.
  • [UPDATE]
  • Additional Features of Version 2.1
  • Made it possible to specify if player should stop moving while executing the common event.
  • Additional Features of Version 2.0
  • made it possible to specify 4 types of region interaction:
  • underPlayer: same as no definition set for the corresponding region (you could leave that region blank also)
  • underPlayerOnOK: same as a "true" for a region in version 1.0
  • approachingRegion: (NEW) Event triggers if player faces region infront but is not within that region (of same type) already
  • talkingToRegion: (NEW) Event triggers if player "talks" to region meaning standing infront of it and hitting button OK
  • NOTE: I had to change the way in which the plugin is configured, so i exchanged the screenshots. If you switch from Version 1 to Version 2, you have to set everything up from blank.

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

Terms and Credits This plugin may be used in every rpgmaker project, even in commercial and adult-themed games. You have to keep the license. You have to credit ST0RMTiger. I do not offer any warranty. But if you need help, just ask.

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.

#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar