public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

MVPlayer VS Event position plugin

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: Player VS Event position plugin
  • Original author: SebyDevDev
  • Original date: September 30, 2017
  • Source thread: https://forums.rpgmakerweb.com/threads/player-vs-event-position-plugin.85046/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > JS Plugin Releases (RMMV)

Summary

Player VS Event position plugin​ This plugin compares the position of the player and an event. Although it's very simple, it's also extremely useful! Imagine you want to check if the player is on the left of an event. How would you do that in RMMV? Unless you use an extremely complicated process, this might make the development of your game stop completely, or maybe you'll

Archived First Post

Player VS Event position plugin

This plugin compares the position of the player and an event. Although it's very simple, it's also extremely useful!
Imagine you want to check if the player is on the left of an event. How would you do that in RMMV? Unless you use
an extremely complicated process, this might make the development of your game stop completely, or maybe you'll
have to abandon on an awesome idea! Well, this plugin is here to help you with that!

Script calls (to use with a conditional branch):
  • this.eventVsEventDistance(distance, event1, event2) === true/false; checks if an event is within range of another event (range is determined by the 'distance' parameter).
  • this.playerVsThisEventDistance(distance) === true/false; checks if the player is within range of the event (range is determined by the 'distance' parameter).
  • this.playerVsThisEventPosition() === 'string';
  • this.playerVsEventPosition(eventId) === 'string';
Possible strings:
  1. 'up'
  2. 'down'
  3. 'left'
  4. 'right'
  5. 'center'
  6. 'up-left'
  7. 'up-right'
  8. 'down-left'
  9. 'down-right'
example:
this.playerVsThisEventPosition() === 'left'; ---> checks if the player is on the left of this player.
this.playerVsThisEventDistance(7) === true -> checks if the player is withing 7 tiles of the event.


This plugin can be used in association with a lot of different plugins to make tons of original content, so have fun with it!

Terms of use: Can be used for non-commercial as well as commercial games. Be sure to mention me, though!
(Having a copy of your game would also be nice )

Thanks to Eis | Kino, GaryCXJk and Pivoo for helping me make this first plugin of mine!

24/10/17: v. 1.03 : the distance checker now checks in a circle (it was a square in v. 1.02)
24/10/17: v. 1.04 : fixed the bug of the plugin description not appearing in the plugin editor.

Download: github

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 of use: Can be used for non-commercial as well as commercial games. Be sure to mention me, though! (Having a copy of your game would also be nice ) Thanks to Eis | Kino, GaryCXJk and Pivoo for helping me make this first plugin of mine! 24/10/17: v. 1.03 : the distance checker now checks in a circle (it was a square in v. 1.02)

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#rmmv#plugin-archive

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar