Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: cjhrules on Thu 16/07/2009 12:15:47

Title: Move npc during dialog.
Post by: cjhrules on Thu 16/07/2009 12:15:47
Hi,

I'm having problems to get npcs to move during a dialog. I'm calling script 1 (run-script 1) and it runs everything in the script except the .walk both blocking and non blocking.

Anyone have a suggestion?
Title: Re: Move npc during dialog.
Post by: on Thu 16/07/2009 12:25:36
Suggestion: Upgrade to 3.1.2. It allows you to handle scripting inside of the dialog, and walk commands in that version always worked perfect for me.
Title: Re: Move npc during dialog.
Post by: Khris on Thu 16/07/2009 12:42:54
Unless you post the code you've used, we're pretty much unable to help you.
I know this works because I've done it myself so you must be doing something wrong.

But yes, switching to the most recent version is probably the best solution.
Title: Re: Move npc during dialog.
Post by: cjhrules on Thu 16/07/2009 15:22:05
Thanks for trying to help, but for some reason I had to use eAnywhere for it to work, guess it was just a matter of npc being outside walkable area.  ::)
Title: Re: Move npc during dialog.
Post by: monkey0506 on Thu 16/07/2009 23:23:57
Any character outside of a walkable area will not be able to walk anywhere using eWalkableAreas. In order to obey walkable areas the character must first be on a walkable area, or they can't move anywhere (not just logically, but also in practice).