Bringing out the overlay with a behavior!


#1

So I have this scene where a character brings out an overlay, but when I run it, the overlay comes out AFTER the character has performed the behavior, can someone tell me where do I fix it? (I make stupid mistakes)

My code:
@LEOLA is dustoff_loop
@LEOLA is idle_hold_baseballbat AND overlay SLIME create
&overlay 4663279097741312_SLIME shifts to 268 99
&overlay 4663279097741312_SLIME scales to 0.647 0.647
@overlay SLIME opacity 1 in 0
LEOLA
Did you say something?
REYES (shocked)
What the heck is that?!?


#2

@LEOLA is dustoff_loop
@overlay SLIME create
@overlay 4663279097741312_SLIME shifts to 268 99
@overlay 4663279097741312_SLIME scales to 0.647 0.647
@overlay SLIME opacity 1 in 0
LEOLA (idle_hold_baseballbat)
Did you say something?
REYES (shocked)
What the heck is that?!?

^ try that.


#3

It does owO
Thank you!


#4

no problem! :blush:


#5

How though?


#6

Cause I have another scene where she throws it at Reyes…


#7

you put:

@LEOLA is dustoff_loop
@LEOLA is idle_hold_baseballbat AND overlay SLIME create
&overlay 4663279097741312_SLIME shifts to 268 99
&overlay 4663279097741312_SLIME scales to 0.647 0.647
@overlay SLIME opacity 1 in 0
LEOLA
Did you say something?

and you made her do the animation before creating and moving the overlay. i rearranged it and made her do the animation after the overlay was in place

@LEOLA is dustoff_loop
@overlay SLIME create
@overlay 4663279097741312_SLIME shifts to 268 99
@overlay 4663279097741312_SLIME scales to 0.647 0.647
@overlay SLIME opacity 1 in 0
LEOLA (idle_hold_baseballbat)
Did you say something?
REYES (shocked)
What the heck is that?!?

so there’s no pause… hopefully that makes sense. if you need me to fix your other scene you can send me the script :slight_smile:


#8

oh okay! I’ll try it, and if it fails I’ll ask you
Sorry for the bother and thank you!


#9

It worked! Thank you :3