Super basic question regarding switches/variables?

Hi! I'm new to this forum and RMMV and in the process of learning the basics, so any help would be greatly appreciated.


This is probably a really simple question, but I would like to know how to do the following:


Basically, the player would interact with item A, B, and C. Then, he/she would be automatically transferred to a different map.


I imagine that I would utilize variables/switches so that interacting with one item would activate a switch, and eventually triggers a switch that transfers the player.


However, I don't know how to make this happen in a random order, as I have no control over which item the player will interact with first.


Also, in tilesets on the left of the program, I notice there are tabs A, B, C, and R. R has tiles with a bunch of numbers. What is the function of this 'R'?


One more question. Can I make it so that after the player walks a certain number of steps, an event occurs?


Thank you in advance!
1) each item, you add +1 to a variable "how many items used" and a self-switch to prevent the player from using one item twice. Then check the variable on each item - if it is the third, transfer


2) R stands for region ID and is used to specific different regions on the map. Default use is in the encounter table (you only encounter a random enemy on specific tiles), but a lot of plugins use that to identify where on the map they should change something (for example running a common event whenever the player steps on a tile wirh region ID n)


3) total steps since the start of the game are counted and accessed by control variable command - load that, compare it with an older number and decide to do something.
1) each item, you add +1 to a variable "how many items used" and a self-switch to prevent the player from using one item twice. Then check the variable on each item - if it is the third, transfer


2) R stands for region ID and is used to specific different regions on the map. Default use is in the encounter table (you only encounter a random enemy on specific tiles), but a lot of plugins use that to identify where on the map they should change something (for example running a common event whenever the player steps on a tile wirh region ID n)


3) total steps since the start of the game are counted and accessed by control variable command - load that, compare it with an older number and decide to do something.



Oh wow, thank you so much! The self-switch advice is really good too haha haven't thought about variables going up forever.

Original thread: https://forums.rpgmakerweb.com/threads/super-basic-question-regarding-switches-variables.74122/