hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
22
Reaction score
2
Primarily Uses
Trying to make a character invisible with a state and than visible when a state wares off.
to do this I want to force an action when a state wares off.
This is using Yanflys state and buff plugins.
<Custom Leave Effect>
var skill = 93;
var target = -2;
BattleManager.queueForceAction(user, skill, target);
</Custom Leave Effect>

For some reason nothing happens when this is executed.
Im not getting any errors in the editor either.
I'm assuming that User is the actor that this state is happening to.
I've seen other users use scripts like this but I cant get this to work.
Am i missing a plugin or something?

Thanks.
1611107802230.png
 

TheGentlemanLoser

True friends stab you in the front
Veteran
Joined
Dec 30, 2020
Messages
123
Reaction score
171
First Language
English
Primarily Uses
RMMV
I accomplished this using the <state animation: x> tag in Yanfly's YEP_X_VisualStateFX and creating an animation that has a "hide target" flash for the entire duration. I intentionally left a "flicker" in mine because it's not a magical invisibility spell, it's a high-tech implanted cloaking device (think Ghost In The Shell) but in theory if the flash is the duration of the whole animation there wouldn't be a flicker (not sure, haven't tried).
 

tale

Volunteer
Veteran
Joined
Dec 16, 2016
Messages
812
Reaction score
1,383
First Language
English
Primarily Uses
N/A
Alternate plugin by Mokusei Penguin: MPP_VanishState (Translucent Effect)
https://forums.rpgmakerweb.com/index.php?threads/mpp_vanishstate-translucent-effect.80502/

You can create a state that makes a battler look invisible during battle. Not sure if it works with Yanfly plugins.

MghjFr6.png
 

Unisoft

Villager
Member
Joined
Jan 21, 2021
Messages
27
Reaction score
6
First Language
English
Primarily Uses
RMMV
Alternate plugin by Mokusei Penguin: MPP_VanishState (Translucent Effect)
https://forums.rpgmakerweb.com/index.php?threads/mpp_vanishstate-translucent-effect.80502/

You can create a state that makes a battler look invisible during battle. Not sure if it works with Yanfly plugins.

MghjFr6.png
IIRC it worked perfectly well alongside many of Yanfly’s plugins in a previous project of mine.
you can also play with the translucency and use it to create colour tints to an extent (but, again, IIRC it colourises the whole sprite so wasn’t a perfect solution for that).
 

hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
22
Reaction score
2
Primarily Uses
Thanks so much.
Looked all night yesterday trying to find something like this.
Thanks thanks.
 

Latest Threads

Latest Profile Posts

Does anyone know of NPC sprites for RMMZ? I know of Flirion's RMMV recolours, but RMMZ's sprites are slimmer and more detailed, so I'm a bit on the edge to use Flirion's im RMMZ...
I can't believe that after all those years, KH Union X Dark Road is closing the services.

Due to a situation in which I thought plugin adaptations had stopped for the QPlugins, I "ghetto" converted these 7 over yesterday. They appear to work perfectly as long as you use old style plugin commands. I am uncertain if I will have a lot of free time in the future to work on this, but if you'd like them, here they are.
Was there a thread that you could share a screenshot of your game? I feel like I found it once but can't locate it again.

I was being lazy and just copied a map to test a new parallax, but I forgot to delete all the events. This was the result. :o

Forum statistics

Threads
108,818
Messages
1,039,782
Members
141,276
Latest member
LiuEdits
Top