Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,670
Reaction score
15,291
First Language
English
Primarily Uses
RMMV
Elevation Fix


2016.07.15


by Shaz


Introduction


This plugin allows you to specify events that can only be interacted with when you are at the same elevation on the map.  This prevents triggering of events by Action Button, Player Touch or Event Touch, when the player and event should not logically be able to interact - for example, if you are on a bridge and the event next to the bridge, on the lower level; or when you are standing on a hill and the event is on a tile next to you, but the edge of the cliff is between you.  The logic is, if you would not be able to move to the tile the event is on, or the event would not be able to move to the tile you are on, you should not be able to interact.


How to use


Add to your plugins folder (file name does not matter, but I call mine ElevationFix.js).  There are no parameters to set, and no plugin commands.


Add <elevation> as a comment to each event page you only want triggered at the same elevation.


Plugin


Download from pastebin


Credit


Shaz


Terms


Free for use in commercial games
 
Last edited by a moderator:

Prescott

argggghhh
Veteran
Joined
Aug 28, 2014
Messages
521
Reaction score
465
First Language
English
Primarily Uses
RMMV
This is pretty handy shaz, thanks! Normally I would just use a variable for the elevation but this will work better!
 

WolfTJD

Villager
Member
Joined
Jul 12, 2014
Messages
12
Reaction score
3
First Language
English
Primarily Uses
RMMV
Thanks for coding this Shaz! I noticed in the download name it says Elevation Fix (VX Ace). This IS for RGP Maker MV - yes?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,670
Reaction score
15,291
First Language
English
Primarily Uses
RMMV
@WolfTJD ouch! Yes, it's for MV. I even put Ruby as the language - what was I thinking?! I hope I didn't just replace the Ace version with the MV version ...

I've updated, and the link should be the same. Thanks for letting me know.
 

Latest Threads

Latest Profile Posts

Finally got my new Discord Server up & Running! I'm still improving it as much as I can, & I'm open for any Suggestions!
I've been busy trying out different art styles for my game.

Enemies deserve some spotlight also
hackingCompressed.gif
I think I can make a text-based mini-game with almost zero art assets and with code only...just a lot of code as assets all by themselves. :kaojoy:
A video update on the progress I've been making on the cutscenes. :kaosalute:

Forum statistics

Threads
115,870
Messages
1,093,608
Members
151,109
Latest member
67616c
Top