hoboayoyo

Villager
Member
Joined
Oct 29, 2016
Messages
23
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

"And when we fall, we will fall together..."
Veteran
Joined
Dec 30, 2020
Messages
238
Reaction score
273
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
817
Reaction score
1,422
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
23
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

For a long time I always consider XP soundtracks as the best one.
Just listened to some of MZ tracks from the free version.
It's... Quite mindblowing. xD
Only listened to the battles, towns, and fields.
But I'm sure the rest are equally good. :D
What do you guys want to see for the new Jump into Javascript? A continuation of the rpg_objects, or would you prefer a "lesson 0" where I go back to the absolute basics of Javascript and cover the fundamentals of the language and its construction?
Hey RPG members!!

How do you finish projects? Some new game developers start off strong but end up losing momentum. What keeps you motivated while working on new projects?
Feeling wee sleepy.. ZzzZ
So many threads to move to the right place. My post count is awesome, but 95% of it is due to moving things.

Forum statistics

Threads
112,452
Messages
1,068,383
Members
146,107
Latest member
kenjum
Top