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
143
Reaction score
184
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,386
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 Posts

Latest Profile Posts

I haven't been on here in forever wow(missed my forum birthday T-T). Anyways, I'm dabbling in BGMs, here's something I'm actually willing to share.

Binge-watched 6 episodes of the Erased anime... And that means I've watched half of it?! Sigh...
I'm bad at base-building games (looking at other players created an aesthetically beautiful base compared to me), but IDK why I keep playing the game and seek more of it.
Pyra and Mythra in smash ultimate are way too OP. They're basically Smash 4 Bayonetta 2.0, and not in a good way. Very toxic and unfair. At least they're hot tho.
attack on titan keep reaching a new height with each episode, aaa I can't wait another week for a new episode at this point

Forum statistics

Threads
109,197
Messages
1,042,961
Members
141,698
Latest member
ZetabrandX
Top