Yanfly Instant Cast + Common Event issue

Status
Not open for further replies.

Kricketot

The
Veteran
Joined
Apr 19, 2015
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
I'm trying to make a boss battle that grants the player a skill for the duration of the battle that they may use as many times as they wish for free. The skill itself triggers a common event that contains a series of text boxes and a pseudo-shop made of events. The skill uses Yanfly's Instant Cast script, and the script works wonderfully... until the common event ends.

You see, when using the skill, the event triggers 100% as intended, but the very second it ends, the battle hud is just... gone... It vanishes until the next turn, that battle HUD does. It appears that Yanfly never expected a common event to be used with the Instant Cast script, and now I'm stuck until I can find a solution. The was amazing up until this bug crashed the party, so I hope somebody can help me out with getting the HUD to reappear.

Thanks in advance.
 

Kricketot

The
Veteran
Joined
Apr 19, 2015
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
What are you using to make the battle hud?
It's the default one; sorry I didn't mention that, I thought the screenshot would cover that, but in hindsight I can see how that may not have been clear

Probably because it looks like an actor command window. Which goes away when the battle turn starts.
The thing is, it's NOT SUPPOSED to vanish, because when using the Instant Cast script, the skills you set as instants are used on the spot, without the turn starting, the actor using an action, or any of the HUD going away. The issue I'm having is that BECAUSE the script doesn't make any of the HUD go away, when a text box makes it temporarily vanish... nothing is there to bring it back.
 
Last edited:

Kricketot

The
Veteran
Joined
Apr 19, 2015
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
What default one. I don't know any script that will give a purple background on black with the word shop in it.
The purple background is a custom asset, the black is the battle background, and the word shop is the custom battle command script, completely unrelated to the issue. The bug occurs with and without the script.

Your right. with instant cast it should stay on the screen. I'll test it in my demo.
Thank you. :)
 

Kricketot

The
Veteran
Joined
Apr 19, 2015
Messages
49
Reaction score
1
First Language
English
Primarily Uses
RMVXA
Shockingly, the solution was simple. I had a friend toss this suggestion out. I just make the actor use another instant skill at the end of the common event. For those who are like me, and having multiple actors using the same skill, use this script to get the user's id in the common event for the final force action that brings the hud back up.
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,522
Reaction score
14,255
First Language
English
Primarily Uses
RMVXA

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,090
Members
137,586
Latest member
Usagiis
Top