Newbie RPG Maker MZ question

I'm in the process of making the tutorial dungeon for my game. I have set up damage-dealing tiles and the first time you step on one of them, along with the HP damage, a conversation starts between the two main characters about avoiding that particular type of tile.

My issue is that I am unsure of how to stop the conversation from repeating itself every time you step on those types of tiles. After the initial exposition, I just want all of that particular tile type to do damage and damage only.

I hope I'm being clear and appreciate any help I can get.
I'm in the process of making the tutorial dungeon for my game. I have set up damage-dealing tiles and the first time you step on one of them, along with the HP damage, a conversation starts between the two main characters about avoiding that particular type of tile.

My issue is that I am unsure of how to stop the conversation from repeating itself every time you step on those types of tiles. After the initial exposition, I just want all of that particular tile type to do damage and damage only.

I hope I'm being clear and appreciate any help I can get.
This is basically what switches are for. Have the event running your conversation check for a switch being off, and after the conversation finishes turn that switch on.
In addition to what @Trihan said, you can also use variables to create quest stages if the events appear in a linear order.


Set a variable for your tutorial quest, name it something easy to remember like "TutorialQuest"
Then the tile is going to check a conditional "if 'TutorialQuest' = 0, set 'TutorialQuest' to 1, dialogue 'don't walk on the spikes, dummy!'"
Then whenever the next tutorial element comes up, let's say next is an enemy, you can do a similar check, "if 'TutorialQuest' = 1, set 'TutorialQuest' to 2, dialogue 'that big ugly thing is called an enemy! it wants to hurt you!'"
So on and so forth.

You can also do multiple stages with the quest by skipping numbers. Let's use the enemy tutorial example again:
Say the player fights the enemy. 2 outcomes are possible: 1, they die, 2 they win. So we will do it like this:
if the player dies: set "TutorialQuest" to 3
If the player winds: set "TutorialQuest" to 4.
So, now if the player dies, we can have a specific set of dialogue trigger specifically for their death, using a conditional check again, "If 'TutorialQuest' = 3, dialogue 'Whoops, gotta be careful when fighting or you might die and early death.'"
Maybe the simplest way (and one which you will use a lot, so it would be good to learn it now) would be to have a second page on that event.

In the Conditions section check the Self Switch box. It will automatically offer you self switch A. Nothing else needs doing on that page.

Now go back to your first page. At the end of the conversation turn self switch A ON. From now on whenever you step on that tile, the engine will look at page 2, see that the condition is fulfilled and not do anything more about the conversation.

This is the usual way to have something run once and only once. You will see that self switches are A, B, C, D. This is to allow an event to do different things later on. But we'll leave that for now.
Make sure you've done the built-in tutorial and you may also want to do some others about events. This is pretty basic functionality that you'll want to be comfortable with before actually trying to make your game.





And there are bunches of others if you do a search.

Good luck!

Original thread: https://forums.rpgmakerweb.com/threads/newbie-rpg-maker-mz-question.155637/