Elevation Fix

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,352
Reaction score
11,942
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
467
Reaction score
356
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

Veteran
Veteran
Joined
Mar 2, 2012
Messages
38,352
Reaction score
11,942
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.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Me and brother have an ongoing rivalry. We constantly fight for the High Score in Galaga on our arcade cabinet. Today I take back the top with 239,000. He'll be back. (No-Fire glitch is banned)
Made Custom ENEMY Information Screen
I'm having such a hard time thinking of an interesting battle system. and not being a coder, certain things I wanna do seem a lot harder lol.
Created a character outline with some code. I have no use for this. I'm....bored.....
Having lots of fun using different PS brushes to add a lil' texture to the floors and walls in my maps.

Forum statistics

Threads
93,721
Messages
914,917
Members
123,324
Latest member
ahmbor
Top