Condition or event help!

Hello, I would like to say that I am a beginner, although i read the tutorial thrice, I still don't understand the
complex part. because maybe english is not my language. So, proceed to questions,

1)I would like to create an event where when you enter the village, a knight(NPC) will approach you(and your character is not moving for a while in this event). then talk to you. then after the conversation, everything is back to normal(but the knight will say different text, don't worry in this part, I already know how to do this.)

Now my problem is, How to create that event? the one where knight will approach and you are not moving?

2) How to create another condition? heres an example, if you are not talking to the mayor or a certain NPC. The innkeeper(NPC) will not give you free sleep, but if you talk to mayor, the innkeeper will give you free sleep? then after sleep, back to normal innkeeper.

How to make like that?

I checkd youtube and other sites but still confused....help!
Watching a video is often not the best way to see how something like this is done. I strongly recommend that you look at Andar's compilation of info for new users. Spending a bit of time on this now will save you a lot of time and frustration in the future. In particular I suggest you play through the playable tutorial on Events and the playable tutorial on Switches and Variables that he provides links for.

For this query, as it is immediately on entering the village, put everything into one controlling event (usually placed top left corner for convenience's sake), set to Autorun. That way, while it is going through everything, the player cannot move. At the end of the action, set the Self Switch A to ON. Have a second page which is blank of everything except that Self Switch A is the Condition on the left side. That will stop the event running again.

For your second query, when you talk to the Mayor, turn a Switch (which you name so that you don't accidentally use it for something else) ON. Again use a Self Switch so that this only happens once. On the second page, conditioned by that self switch, have some other piece of dialogue. Have a page of the Innkeeper event with that switch as its condition. Here is where the free sleep happens. If the switch is ON, the page with that as its condition will run. At the end of the sleep part of the event, turn the Switch OFF. That way, you don't get endless free rests.

If you still have problems doing this, post a screen shot of your events so that we can see what you have done. Use Alt+PrtSc so that only the event is captured, not your whole desktop.
I will try, I will report back whatever happen something error. thanks for help 🙂
Ok so I have a problem. I don't know how to recognize switches or to save it to switch sections. how to save the certain command/switch?
second. Everytime I check the box at switch[name] ON. the character is missing or not present when I play?

And since this is my curiosity, I would like to know what is better, checking the box of switch or just inserting the switch in the program?
It looks like you don't understood how switches work.
Each switch has and needs two parts - the control and the condition.

Activating the condition means that you tell the program "only do this if the switch is on", so of course the event vanishes as long as the switch is off. And you need to control the switch from somewhere else to activate it.

So there is no " better", you need all parts at the correct place for it to work.
I suggest you take a few weeks to work through the tutorials I listed in my starting point tutorial to learn the basics.
I have only now noticed that this is in Tutorials. This is where people who have made tutorials can post them to share with others.
Moved to: RPGMaker VX Ace
Hi, it seems I manage to did what you guys telling. Anyway, my new problem is....how to end an event, actually my event is at night, so the color/atmosphere is night.

I want to remove those event things happen like characters who attack you but fell down/knockdown, settings difference(the event change the game into night).
Those characters who are involve to the event still in the place where they got knock down/stay/stand. Aside, the speed of my character(which is normal) turn into x2 faster just like the situation in the event

Original thread: https://forums.rpgmakerweb.com/threads/condition-or-event-help.84800/