Proximity Sensor (RMMZ)
Proximity Sensor 1.0 (MZ)reflector88
What is it?
This MZ plugin adds a "Proximity Sensor" plugin command that turns on a switch/self-switch when an event is near the player. Can also calculate line of sight.
I made this as an MZ equivalent to Vlue's Proximity Detection script for VXAce.
What is this for?
Puzzles, stealth sequences, or games with roaming enemies. Can also be used for aggro and hit detection in an ABS.
Features
[*]Plug-and-play, easy to use
[*]Change the distance and switches in the plugin command menu
[*]"In direction facing" and "in orthogonal directions" options
[*]Set line of sight obstacles using Region IDs and Terrain Tags
Video
https://www.youtube.com/embed/WvwLGfB88Ik
How to Use
1. Put the .js file in your project's js/plugins/ folder.
2. In RMMZ, open the Plugin Manager through the Toolbar.
3. Double click an empty line, then use the "Name:" box to select "r88_ProximitySensor".
Download
Download on Itch.io
Terms and Credits
Free for commercial and non-commercial projects. Credit me if you found it helpful.
本贴来自国际rpgmaker官方论坛作者:reflector88处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/proximity-sensor-rmmz.161696/
页:
[1]