NPC Event Scripting Help

First off, I'd like to say I've spent the last couple hours trying to find my answers, because I know starting yet another topic about yet another event problem is annoying. Haha;
Anyways!

The problem;


Just running this on a test map trying to get it to work; Walk out of building, and trigger an event that switches Switch 1 = ON.
This is turn starts an NPC to walk towards the Player and then speak to them.

Problems that I have run into;

-NPC does not appear until the event is triggered. 

-Is there a way to directly make a event trigger an NPC that is elsewhere, or does it have to be indirect as I have it set up.

-During some of the tests I had complete freeze ups instead of any event process running; I'm assuming this is because of some sort of infinite loop being created without a "End Event Processing" command being issues.


Thank you for your time and newbish questions!
Hi there!


Read beginner tutorials, it will solve all of your problems and questions. The age old 'my game froze up!' because you don't understand autoruns are getting kind of tiring to explain over and over again. I am honestly baffled you searched for hours, yet found nothing to answer your beginner mistake? The MOST common mistake? Really?


Here's a good starting point. Try to read about switches here, and about variables here.


Edit: just noticed your title. Please don't use 'scripting' in this sense. Scripting is done with Ruby in RPG Maker, and you need to have actual programming knowledge of Ruby to be able to do anything. Eventing is done using the GUI, which is perfect for beginners with no programming knowledge. They're two different things, please don't confuse them.
Awesome! Thanks so much. I don't see a "delete post" button in the edit topic area, so please feel free to delete this thread so it's not cluttering up the place.

I'll be sure to give those a looksee. <3

EDIT:
Sometimes it's hard to word what my problem is to find that "most common mistake". haha; I didn't focus too much on the frozen issues since itself and I didn't know why. But now I know. 😀
Yes, a big problem with beginners is that they overcomplicate their issues. They will write paragraphs how their main character's dog has died, and you have to find the medicine from the King, but they don't know how to burn down their village and now everyone is walking on walls! Basically, lots of excessive information that isn't needed. Strip it down to the bare bones (Y happened after I did X) and you'll get much better results while searching.


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/npc-event-scripting-help.15775/