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
142
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 Profile Posts

I'm looking at/working through a simple game tutorial. Town, dungeon, boss; town, dungeon, boss; etc. (Thanks, Yanfly!) I'm itching to make something complex but experience (and past disappointment!) tell me to go slow and learn.

Rome certainly wasn't built in a day. 〜( ̄▽ ̄〜)
SF_People1_2 added!
index.php

Ami
--- Minimum Requirement ---

M.Knight: Phew...finally,i got the New Game. Let's check the Requirement
"Minimum Requirement:
  • 2.00 Ghz CPU
  • Full HD Support GPU
  • 5GB Memory"
M.Knight: I just have decent Gaming PC,i can play 2010-2015 Games. Hope it's okay
(1 Hour Later,The Game FPS Just Got 10-20)
M.Knight: (Facepalm)
Next goal is to make pull & push + lift & throw systems with mouse support and have skill levels in them and action indicators!

Forum statistics

Threads
109,174
Messages
1,042,741
Members
141,668
Latest member
Noel_Lwin
Top