Problems Creating Dynamic NPC And Interactable

Here is Event Project Test Demo (Only 4mb) (A Moddifed Version of Galv Event Start Type Demo)


https://drive.google.com/file/d/0Bz1VRkiMwRiCZDh0elVSS09TdU0/view?usp=sharing


Screenshot_15.png


What happens when you block the event: (Does the event. However, it breaks the game)


Screenshot_16.png


Remove the Script Code: $gamePlayer._triggerType = -1; 


Will repeat the same "get out of the way text"
Any messages in the console? Press f8 for it to appear.
Nope no errors in either trigger.
Ok, a quick question... why is self-switch A... and all those switches... turned on at start? why not check if they are off and turn them on later?


Besides that, I'll have to take a look at the plugins... do you have a link to them?
First of all thank you for your help, Self-switch A is turned on because you would like to check to see if the "NPC is alive" as one of the option is to kill the npc. The links to the plugins  used are: 


https://galvs-scripts.com/2016/07/22/mv-event-start-types/
Ok, I doubt it is the movement one.


Seems to me that for some reason in the repeat case the plugin is not resetting the touch value (makes sense, it's usual activation is being active by default) so it is turned eternally the last interaction after it happens once.


Checking the only-happening-once now.


So, question about it, does this happens with all answers or just the press button one? And if you do another and do it again, does if work then? It may be a lack of resetting the variable, the plugin does not seem to do it itself... Maybe calling in a script "$gamePlayer._triggerType = -1" at the end of each Conditional Branch would work?
I'm not familiar with the plugin in question but couldn't this be accomplished with multiple event pages and custom movement routes?

Ex. You want the NPC to do a "task" so you turn on the switch "Do Menial Task". 

His Page 2 has the condition "Do menial task" and then have his movement route set to "Custom" and set up a route that makes him look like what he is doing. You can then add dialogue as part of the normal event with the regular "action button" trigger.

Task 2 is a different switch also with a custom movement route and the appropriate text.

Dead NPC is it's own page with a "NPC Dead" switch condition

etc.
Thank you for your Help Everyone! Especially, @Waterguy your suggestion was spot on but I only figured it out after 2 hours of experimenting because I did not believe the Movement plugin from custom move to area would  cause any problems (it did). It fixed the problem! 


Walking towards the event works but when the event walks toward you will cause the game to crash in event movement bc of event trigger (w/ the script code @Waterguy gave me) w/o it will repeat as I have a loop .


Parallel looks viable at first but it effects all characters the event triggers. So I cant do that.  
I edited the first post to link, and added a test project that best describe what I am trying to accomplish.

Original thread: https://forums.rpgmakerweb.com/threads/problems-creating-dynamic-npc-and-interactable.69191/