whitesphere

Veteran
Veteran
Joined
Mar 14, 2014
Messages
1,688
Reaction score
784
First Language
English
EventTouchRadius 0.1.0

whitesphere

 

Introduction

This little plug-in can trigger any "Event Touch" action when the player gets within a specified

distance.  You can specify a EventTouchRadius per-event, per-map or set defaults for every event.

This is extremely helpful for visible enemy encounters on the map.

 

Features

- Configurable event radius, per event, per map or default

- Event radius compensates for the size of the event sprite (helpful for large events like Dragons)

 

How to Use

After installing and enabling the plug-in, add an <EventTouchRadius: (radius)> note-tag for each Event.  When the player gets within (radius) tiles, the event's "Event Touch" will trigger.  If the event is not currently responding to "Event Touch," this does nothing.

 

You may also add the same tag in the Map.  If so, every event in the map inherits the Event Touch radius, unless it already has one specified in its own note tag.

 

Finally, the plug-in parameter lets you set the radius for every event in your game.  Use this with care.

 

Any events which do NOT have an event touch radius after all of the above will function normally.

 

Script

 

The plug-in is available here:

 

 

http://pastebin.com/embed_js.php?i=Ty58ZkQU

 

 

FAQ

 

Q: Why isn't my event triggering when the player walks close by?

A: The plug-in only checks for the player when the event normally would --- when the event moves.

 

Terms of Use

This plug-in may be used for commercial or non-commercial use, as long as credit is given.

 

 
 
Last edited by a moderator:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
41,908
Reaction score
14,546
First Language
English
Primarily Uses
RMMV
Nice plugin. What are your terms of use (and could you please add them to your other plugin threads if you don't already have them listed)?
 

Unmercyful

Veteran
Veteran
Joined
Oct 25, 2015
Messages
123
Reaction score
31
First Language
English
This is truly an awesome plugin! Just wanted to pop in and say thank you very much for making this.

Just one question: Is it possible to to shut the plugin off on the maps it is not needed? Just having a little conflict with a couple other plugins and would work if there was a plugin command to turn it off. Thanks for your time.
 
Last edited by a moderator:

XoeXoeXoeXoeXoe

Villager
Member
Joined
Jul 25, 2016
Messages
7
Reaction score
2
First Language
English
Primarily Uses
Thanks for the script, I think I will be able to use this in a project I'm currently working on!


Or at least I'll give it a shot, thank you!
 

Latest Threads

Latest Profile Posts

Voting for the second round of the Map Madness Tournament is now live! Vote for your favorite in each matchup! https://forums.rpgmakerweb.com/index.php?forums/map-madness-2021-polls.187/
Just bought the Visustella All Waves bundle... Time to go IN!!
Oh, I was just confirmed I'll be doing small online classes during june - july, on one side I'm nervous and looking forward it, on the other one: I've became the very thing I swore to destroy. :kaodes:
Work starts today at 2pm. I hate jeans, but the dress code says I have to wear them... That's how I discovered I was a plus size. Shopping for my first pair of jeans.
Anyhow, I'll post a new video on TheDazzlingsAreBack as soon as I'm able to.
dEj6ha4.png

WIP :)
Added some cliffs / walls / roofs to the tilesheet and am currently working on roof objects to make them prettier and more variable. And of course, windows and doors that fit to the game's style.
I also adjusted the grass color but i have some issues with my display, so if it looks weird, please let me know :)

Forum statistics

Threads
110,573
Messages
1,054,308
Members
143,685
Latest member
Yatsuzuka_Kou
Top