Making transfer points un-usable until task is completed?

I'm VERY new to RPG maker, and I'm slowly starting to figure things out. I want to make a transfer point that can take me to a different map, but ONLY after I complete a certain task. How would I go about doing that? 

I've looked at other tutorials and I'm ashamed to admit that some of them I don't understand. I have limited knowledge of switches, but I'm trying my hardest to learn.

Please help?
There's usually multiple ways to do things in RPG Maker, the best way for you will depend on your project and what you want to accomplish. That being said, one way to pull this off is to make use of a conditional branch inside of your transfer event. In this example, the protagonist requires their textbook before they can leave home.

First I created a variable named "Textbook", and set to "1" when the player player activates the event over he bookshelf. A message is also played to confirm this. The default value of the available variables is 0, so the Variable "Textbook" will only be equal to 1 once the player activates it.

Conditional1.PNG

Next I set up a conditional branch that checks the value of the variable "Textbook". If Textbook is a number equal to or greater than 1, the player will be transferred to another map upon stepping on the event, otherwise, a message will be displayed reminding the player to pickup their textbook before leaving.

Conditional2.PNG

Conditional3.PNG

The exact same thing could be done with switches. You can also pull off with event pages...
Switches and variables are the most important part of the engine if you want to do any quests or game sequences more complex than "walk to the next map", so I suggest you look at tutorials for them.


Follow the link in my signature to the most important tutorials, especially the "Variables Guide"
Also becoming thoroughly familiar with all the possible things you could ask a conditional to check.  There is often more than one way of doing something.  In the example of the textbook:

As said above, check if the variable is 1

is the book in the player's inventory?  Useful if you don't want to be using switches unnecessarily

If you go through the different tabs for conditionals, you will see the variety I am referring to.  Getting familiar with those will be a big boost to your flexibility.

Original thread: https://forums.rpgmakerweb.com/threads/making-transfer-points-un-usable-until-task-is-completed.39511/