How to make something new happen after repeatedly interacting with an event

Hello! I'm terrible with titles and am not very familiar with Ace, so go easy on me.


So let's say I set down an event where when a player walks onto a tile [Player touch event], a message pops up saying "I can't go this way".
But after several times of stepping on it, a new message will appear saying something like "I told you! I can't go that way! Why are you making me do this?"

How would I do that?


Thanks a bunch for any and all help!
Moved to: VX Ace Support

Use variables.

Variables start at 0 by default. You want to increment it each time the player steps on the event, and check to see what the value is (this is how many times it's been stepped on).

On your player touch event, do something like this:

Code:
Control Variables: [Touch Count] += 1
Conditional Branch: Variable [Touch Count] = 6
  Show Text: I told you! I can't go that way! ...
Else
  Show Text: I can't go this way.
End

As you didn't say what you want to happen after the new message appears, if the player continues to step on that tile, the above logic doesn't cover that. So after the "new" message appears, it'll just go back to showing the old message for each subsequent time. Hopefully you will be able to work that out for yourself.
Moved to: VX Ace Support

Use variables.

Variables start at 0 by default. You want to increment it each time the player steps on the event, and check to see what the value is (this is how many times it's been stepped on).

On your player touch event, do something like this:

Code:
Control Variables: [Touch Count] += 1
Conditional Branch: Variable [Touch Count] = 6
  Show Text: I told you! I can't go that way! ...
Else
  Show Text: I can't go this way.
End

As you didn't say what you want to happen after the new message appears, if the player continues to step on that tile, the above logic doesn't cover that. So after the "new" message appears, it'll just go back to showing the old message for each subsequent time. Hopefully you will be able to work that out for yourself.
Thank you very much for your help! Sorry I put this in the wrong forum, and thanks also for switching it to the correct place.

I'll try that out tomorrow when I have more time to do it. Have a lovely day/night and I'll let you know if it worked!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-make-something-new-happen-after-repeatedly-interacting-with-an-event.140313/