Switch not connecting. Second character is invisible until a certain point.

I'm trying to connect these two switches, all my other switches worked perfectly fine, but I can't seem to make this one work... not sure why neither. Anyone can help me out?

1704527286896.png


1704527301968.png



1704527322844.png
I'm trying to connect these two switches, all my other switches worked perfectly fine, but I can't seem to make this one work... not sure why neither. Anyone can help me out?
exactly what is happening thats not intended?

your "Pirate on the Left" is an autorun event, but that event wont ever end. itll just keep repeating. it should either have a 2nd page that isnt autorun with a condition thatll be true after it runs the first time (like switch 17 being on or setting a self switch there to be on) or you should turn off switch 16.

Your "Pirate on the Right" isnt on screen? but also, it too is an autorun without an end. if you fixed the first event without fixing this one, itll seemingly lock the game as you wont be able to move and wont be able to see the bubbles repeatedly happening.

although, id recommend doing this entirely differently. you can have one invisible autorun event somewhere else thatll handle the motions and the text boxes of both of those events within itself so that you dont have to have the 2 of them setting switches and autoplaying after eachother
To first answer your question. I just want my event to start a bit down the map to scroll up and start a conversation between the three pirates before they realise I'm there, turn towards me and then a fight would start.

When I first set that event, I had Pirate on the left with a self switch that would stop the autorun, but the image was empty. So, my Pirate on the left would just disappear once he turned down.

For Pirate 17, he's just not even appearing in the first place. The only time he's there is if I put the Control Switch 17 at the top of the event list (before the dialogue too). Then, if I remove the self-switch and the 2nd event page, my Pirate on the left will turn down, but Pirate on the right will stay there not moving and not doing what it's supposed to do.

Just like that :
1704530332829.png


EDIT: Also I want to mention that this whole event started somewhere else. I made that event start on a random tile a bit further down because I want a scroll camera effect.

Here's the event in question:
1704530505885.png
When I first set that event, I had Pirate on the left with a self switch that would stop the autorun, but the image was empty. So, my Pirate on the left would just disappear once he turned down.
in that case, you could have had your second page also use the same image. then it wouldnt disappear when the switch is on.

For Pirate 17, he's just not even appearing in the first place. The only time he's there is if I put the Control Switch 17 at the top of the event list (before the dialogue too).
You have to be careful with your conditions. When the map loads, the pirate on the right has no sprite as its only conditions are to have that actor in the party and that the switch the other pirate activates on. by the time that switch can be flipped, its already within view of the camera. At best, itd pop in after left pirate is finished speaking.
If the left pirate is visible by the time the camera pans up, then have the right pirate also have its first page with the same conditions as the left, but with an action button trigger.

Then, if I remove the self-switch and the 2nd event page, my Pirate on the left will turn down, but Pirate on the right will stay there not moving and not doing what it's supposed to do.
that might be because the pirate on the left's event isnt actually ending completely. since it has no condition to stop, itll automatically retrigger before the pirate on the right does, and the one on the right never starts

EDIT: Also I want to mention that this whole event started somewhere else. I made that event start on a random tile a bit further down because I want a scroll camera effect.
although, id recommend doing this entirely differently. you can have one invisible autorun event somewhere else thatll handle the motions and the text boxes of both of those events within itself so that you dont have to have the 2 of them setting switches and autoplaying after eachother
you could just have that event do all of the work here. Copy everything inside the left pirate's first page into it, delete the switch command, copy everything in the right pirate's first page into it, and have that one event do everything here.
You can have an event set movement routes for other events. itll save you the hassle of having multiple autorun events and using switches to make sure they run in order
only one autorun can be active at any given time, multiple autoruns will work after one another, never at the same time.

and one of the most important rules for cutsenes is that you need ONE controlling event with all commands, and all NPC events need to be empty placeholders without any command, being remote controlled by that controlling event.

so both the conversation and the turn/balloon commands should be in the event that starts the scrolling, with the two pirates being without commands and on action buttons, and the only function of their conditions would be switches to make them visible for the cutscene.

If you change your events that way they should work as intended.
you could just have that event do all of the work here. Copy everything inside the left pirate's first page into it, delete the switch command, copy everything in the right pirate's first page into it, and have that one event do everything here.
You can have an event set movement routes for other events. itll save you the hassle of having multiple autorun events and using switches to make sure they run in order
only one autorun can be active at any given time, multiple autoruns will work after one another, never at the same time.

and one of the most important rules for cutsenes is that you need ONE controlling event with all commands, and all NPC events need to be empty placeholders without any command, being remote controlled by that controlling event.

so both the conversation and the turn/balloon commands should be in the event that starts the scrolling, with the two pirates being without commands and on action buttons, and the only function of their conditions would be switches to make them visible for the cutscene.

If you change your events that way they should work as intended.
I can't thank you both enough. Strange enough, on my last cinematic event (a bit earlier in the game) I had done the exact same thing as you both explained. I don't know why it didn't occur to me this time that I should do the same thing... Regardless, my issue is now fixed! Thank you very much.

Original thread: https://forums.rpgmakerweb.com/threads/switch-not-connecting-second-character-is-invisible-until-a-certain-point.164520/