じ☆ve冰风 发表于 2026-7-27 07:55:49

Elevation Fix

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


本贴来自国际rpgmaker官方论坛作者:Shaz处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/elevation-fix.65366/
页: [1]
查看完整版本: Elevation Fix