How do I make a hero disappear after move route?

I have an autorun cutscene where I want the hero to run away and then disappear. The move route happens after the dialog and it works great. I tried a couple of things to have her disappear after, but no luck. I tried flipping a switch to turn her graphic into nothing. That just made her disappear way too soon.
Screenshot (120).png
I'm not sure if it works the same as in Ace, but there should be something like a "transparency on" in the move route command.
I'm not sure if it works the same as in Ace, but there should be something like a "transparency on" in the move route command.
They have something called Through on and Through off. They didn't do anything. I don't see any transparency options in move route.
Then it's different after all.
Is there something about transparency in the general event commands? Or maybe something about timing? Because if you found a way to make the character disappear, but it's too quick, you could make it wait a few frames before that.
Could you show a screenshot of the move route commands? Maybe I'll find something there
Then it's different after all.
Is there something about transparency in the general event commands? Or maybe something about timing? Because if you found a way to make the character disappear, but it's too quick, you could make it wait a few frames before that.
Could you show a screenshot of the move route commands? Maybe I'll find something there
I didn't see anything about transparency in the general commands or the move route commands. Then again I might have missed it because it's not really organized. I doubt I could wait a few frames because the timing is super messed up.
Screenshot (121).png
Okay, I see it. Here are two things you can use:
1. Wait. It gives you the possibility of waiting a few frames before the next action happens and
2. Decrease opacity. This means you can manually change how visible your character is. Change it 0 and the character should be gone.
It worked, except the problem is that there is no way to choose the opacity. It just decreases a little bit.
Then you might have to do that several times.
Sorry if I'm not very helpful, I only use VX Ace^^°
(Was writing this before posts beginning with ~#5 popped up.)

Is that move-route really happening? The event-eraser you put there should stop the code from being processed at all. And why are we allowed to see only this small stripe of what's there? It's not possible to tell how this stuff is built.

By "hero" you mean an event whose walk-graphic resembles one of your actors, right? I'm asking because commonly people refered to the player-object or party ever since as "hero", but it doesn't look like here.

If there are no other movements going on meanwhile, you can use a command that waits until all move is completed right-below the route-command.

Spoiler
1646844178910.png

If not, you can use the normal wait-command and enter an amount of time that fits. At walk-speeds 6 down to 1, a moveroute-walkingstep at full frequency (8) lasts 1, 2, 4, 8, 16 or 32 frames (or... was it 2 to 64?) respectively. To help you calculate: A wait of "0.1" equals 6 frames, a wait of "0.0" 1 frame. When timed correctly, you can determine when the move-route has finished (or any other moment) to continue the event.

When there is a charset file that has an empty graphic, you can just replace the event-graphic with it, but I don't recommend that. And when its active page is changing, this swap will reset.

Another possible method is to turn-on the switch inside (or at the end of, I guess) the move-route.

Afterwards any method you can include a frame-loop that waits for the switch to be on, just like:

Code:
<>Set Move Route: [Lucy], ..., ..., ..., ..., ..., ..., Switch ON: 1234
<>Loop
 <>Wait: 0.0s
 <>If Switch [1234] == ON
  <>Break Loop
  <>
 : END
 <>
: Loop END
<>Note: Loop finished! All the code below here executes when switch is ON!
<>    : #1234 could also be used as empty-graphic's page condition for Lucy.
<>

But no matter what you do, please include "Through ON" and "OFF" in your cutscenes' move-routes as much as possible. This ensures your events can't lockup the game by running against a "wall".

~炬燵あ
(Was writing this before posts beginning with ~#5 popped up.)

Is that move-route really happening? The event-eraser you put there should stop the code from being processed at all. And why are we allowed to see only this small stripe of what's there? It's not possible to tell how this stuff is built.

By "hero" you mean an event whose walk-graphic resembles one of your actors, right? I'm asking because commonly people refered to the player-object or party ever since as "hero", but it doesn't look like here.

If there are no other movements going on meanwhile, you can use a command that waits until all move is completed right-below the route-command.


If not, you can use the normal wait-command and enter an amount of time that fits. At walk-speeds 6 down to 1, a moveroute-walkingstep at full frequency (8) lasts 1, 2, 4, 8, 16 or 32 frames (or... was it 2 to 64?) respectively. To help you calculate: A wait of "0.1" equals 6 frames, a wait of "0.0" 1 frame. When timed correctly, you can determine when the move-route has finished (or any other moment) to continue the event.

When there is a charset file that has an empty graphic, you can just replace the event-graphic with it, but I don't recommend that. And when it's active page is changing, that change will reset.

Another possible method is to turn-on the switch inside (or at the end of, I guess) the move-route. Afterwards you can include a frame-loop that waits for the switch to be on, just like:

Code:
<>Set Move Route: [Lucy], ..., ..., ..., ..., ..., ..., Switch ON: 1234
<>Loop
 <>Wait: 0.0s
 <>If Switch [1234] == ON
  <>Break Loop
  <>
 : END
 <>
: Loop END
<>Note: Loop finished! All the code below here executes when switch is ON!
<>    : #1234 could also be used as empty-graphic's page condition for Lucy.
<>

But no matter what you do, please include "Through ON" and "OFF" in your cutscenes' move-routes as much as possible. This ensures your events can't lockup the game by running against a "wall".

~炬燵あ
The move route is definitely happening. The erase event just keeps the dialog from repeating itself. Lucy is technically in the party, so I think hero works. I will try your suggestions, i'm new to this so i'm not sure how well it will go. Thank you.
The move route is definitely happening. The erase event just keeps the dialog from repeating itself. Lucy is technically in the party, so I think hero works. I will try your suggestions, i'm new to this so i'm not sure how well it will go. Thank you.
The wait for movement worked! Thank you!!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-make-a-hero-disappear-after-move-route.145593/