Problems Creating Dynamic NPC And Interactable

elpsychic

Villager
Member
Joined
Sep 27, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
Last edited by a moderator:

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
Any messages in the console? Press f8 for it to appear.
 

elpsychic

Villager
Member
Joined
Sep 27, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
Nope no errors in either trigger.
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
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?
 

YoraeRasante

Veteran
Veteran
Joined
Jun 6, 2014
Messages
1,643
Reaction score
420
First Language
Portuguese
Primarily Uses
RMMV
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?
 
Last edited by a moderator:

bomblord

Veteran
Veteran
Joined
Apr 13, 2016
Messages
87
Reaction score
11
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

elpsychic

Villager
Member
Joined
Sep 27, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
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.  
 
Last edited by a moderator:

elpsychic

Villager
Member
Joined
Sep 27, 2016
Messages
10
Reaction score
0
First Language
English
Primarily Uses
I edited the first post to link, and added a test project that best describe what I am trying to accomplish.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top