I want to put a guard by the gate before you enter the first danger zone. My goal is to have it so the guard wont let you pass until you obtain a letter or some type of key from the quest giver.
1.How do i make the guard stop me from continuing?
2.How do i make him let me through when i have the key?
I've moved this thread to VX Ace Support (Tutorials is for posting tutorials). Please be sure to post your threads in the correct forum next time. Thank you.
This is pretty simple, so you may need to read up on some beginner tutorials.
I can't go through it with you because my lunch hour is up, but someone else will be by to walk you through it. I CAN give you a few questions to answer, though, that will determine the best approach.
Will the guard actually take the letter/key off you (do you need to talk to him when you have the item? do you keep the item and do you have to use it every time you want to go through the gate?)
Is he standing in the road and does he need to move in order for you to get through? Next time you reach the gate will he be standing in the road again or will he have moved to the side?
Basically you need the guard event to have two different pages, one page for blocking the way and one page for allowing you to pass.
Then you use the conditions - no conditions on the page where you're blocking, and the condition "item [letter] exists" on the page where the guard allows you to pass.
Anything that is needed to get you pass the guard needs to be on the second page, including (if needed) a move route of the guard going out of the way.
If the guard takes the letter from you, then either you need a third page conditioned by switches for the guard to allow you to pass without the letter, or you'll have to get another letter before he lets you pass again.
As Shaz said, the exact coding depends on how your map and your story is structured and what exactly you want to happen when the guard should give way...