Request Function in Yanfly's Event Mini Label

Hey Yanfly, or anyone else who is capable of doing so, is there any way you can add a new function to the Event Mini Label script by Yanfly?


http://yanfly.moe/2015/12/08/yep-40-event-mini-label/


Currently "<Mini Label Range: x>" makes the label show up when I am within x spaces... but there is no way for me to have it disappear when close.


For example, something like this would be helpful... <Mini Label Range: 3,7> so it only shows up only when you are between 3 away and 7 spaces away. In this example, it would fade out when you are 2 or less spaces away.


Or perhaps approach this request with adding another comment tag like <Mini Label Hide Range: x> to fade it out if the player is within that range.
Just bumping this one more time as I still need this function.
Here's the edited plugin. You can now use <Mini Label Hide Range: x> to hide the mini label when the player is within range.

View attachment YEP_EventMiniLabel.js
Oh! Thank you so much!
So another quick question for you Kadafi.

Any chance the changes you made could be extracted and put into their own script as an "addon" script for the original script? This way, if Yanfly updates his event at all, I dont overwrite this change you made?
Here's the edited plugin. You can now use <Mini Label Hide Range: x> to hide the mini label when the player is within range.

View attachment 41299


Hey kadafi can you help out here im triying 2 work whit the plugin im using version 1.6.2, but i cannot make the plug work.

I know im been a noob here, but i only make to work the <Mini Label: text> but the one you place in like range it dont show, even mini label name dont show when i add the range one.


Here how i place it in the comments.

<Mini Label: text>
<Mini Label Require Facing>

I do not know if im making any mistake, please help here.

Original thread: https://forums.rpgmakerweb.com/threads/request-function-in-yanflys-event-mini-label.59108/