Seeking best method: Character enters and talks

Hey y'all. I'm creating a game after completing the tutorials to help get my feet wet in the engine.

I've found myself wondering if what I'm doing is the best way to set a scenario up.

Scenario: Game begins, player is presented with some screen effects and text. A character then enters their room, walks up to them, and begins talking to them.

Execution: To accomplish the last component (character enters, walks up to them, and talks), I am using:

  • Autorun event displays the introduction text. It sets a Switch to TRUE.
  • A separate event listens for that switch. When true, it unhides itself, walks up to where I know the player will be, and then Show Text for dialogue.
I am wondering if the use of a Switch here is wasteful; it's the only time I would use this switch is to trigger this single character interaction. Is there a more efficient way to do this? Or are switches not as limited as I feel, and what I'm doing is proper/adequate technique?

Thanks y'all.
Assuming that I understand you correctly, a switch is a valid way to do it. I would suggest that ease of understanding of what happens on that map is a more important issue than the use of a switch, though. You might want to do a bit of maintenance on that part of the game in a couple of months when it is no longer fresh in your mind.

There is another method that you could try to reduce the number of autorun events, which would make maintenance very much easier. Have one event that starts with an autorun page that has no image. This handles your screen effects and introductory text. It sets self-switch A to true. Self-switch A is the condition that triggers a second autorun event page with an image. Have the second page move the event and handle the conversation (or monologue). At the end of its business, have it set self-switch B, to trigger a non-autorun event page.

You want the first autorun page as the first (on the left), then the autorun page triggered by self-switch A, then, on the right, the non-autorun page.
I am wondering if the use of a Switch here is wasteful;
Sort of. I mean, you have enough to spare, but a switch really isn't needed here. Lemme explain.

Spoiler: My first map's event setup
1710052352507.png

This is the first map of mine where the player and another character are first seen. See that random event nestled in the trees? That's my autorun that controls the entire cutscene, including the visible character you can see. The map actually begins faded out, which is key for allowing me to manipulate things without the player being able to see what's going on, namely that's turning off transparency on the player from the prior map and turning on the transparency of the character seen here and moving her into position by going a single step back. Once that's done, I fade in and turn off the transparency of the character, making it appear as if she just entered the map, then move her into position to engage the player in conversation. No switches are necessary for any of that.

Spoiler: How the autorun event looks
1710053077158.png

The one switch you can see is only for controlling the ability to skip the cutscene, not for any characters within it. Aside from that, you can see my initial movement route commands to set things up, then the fade in to actually make things visible to the player.

Spoiler: Event character
1710053294387.png
1710053354469.png

And here's what that character's event pages look like. Nothing's there, as the autorun event controls everything that's going on. The only thing of note is her page 2, which activates based on a variable and removes her from the scene (yes, you might ask why I didn't have her start invisible rather than mucking with the transparency change, but it saves me an event page. Not super important, but in case anyone asks . . .). The only switches used in this event are for enabling cutscene skipping and a switch at the end for letting the game know that she's in the party, which affects other stuff that doesn't concern this map.

Sorry if this is long winded, but my point is to both show that you can limit switch use for these kinds of things, and to hopefully encourage you to explore what the various event commands can allow you to achieve.
Ah! I think the sauce I was missing was the ability of the movement command to control more than Player and Self; I'd been thinking of the Switches as means to communicate between Events, but it's certainly far cleaner to do so with Set Movement Route! Thanks yall.
Ah! I think the sauce I was missing was the ability of the movement command to control more than Player and Self; I'd been thinking of the Switches as means to communicate between Events, but it's certainly far cleaner to do so with Set Movement Route! Thanks yall.
Well, remember that switches can indeed facilitate event communications, but you shouldn't need to use a switch for a one and done convo between characters. A self switch, on the other hand, could be used for that purpose.

Also, some extra advice for you: learn to love variables. They're essential in pulling off some useful things.
Well, remember that switches can indeed facilitate event communications, but you shouldn't need to use a switch for a one and done convo between characters. A self switch, on the other hand, could be used for that purpose.

Also, some extra advice for you: learn to love variables. They're essential in pulling off some useful things.
Any recommendations for Variable tutorials? Everything I've found so far seems to either assume I know more than I do (robust Scripting usage), or not cover them.
Any recommendations for Variable tutorials? Everything I've found so far seems to either assume I know more than I do (robust Scripting usage), or not cover them.
No, sorry. I've never personally used a tutorial video for RM (there was a game I played back in the VX Ace days that helped though). Maybe try SRD's tutorial series. This thread seems to think it was high quality, and a quick look of the playlist shows that he does have a video on variables.

Original thread: https://forums.rpgmakerweb.com/threads/seeking-best-method-character-enters-and-talks.166638/