Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Zoolander on Tue 21/03/2006 13:45:08

Title: NPC using dialog options
Post by: Zoolander on Tue 21/03/2006 13:45:08
At the end of my game, there's a point where I want to switch it so that one of the NPC's asks my player character questions using the dialog options. Is there a way to do that?
Title: Re: NPC using dialog options
Post by: Ashen on Tue 21/03/2006 13:52:12
Do you want the player to be able to select the questions, or the answers?
Either way, couldn't you just make it a normal dialog, and just script it so the NPC does the asking? A series of dialogues might make more sense for answering questions - one for each set of possible answers.

Alternatively, you could make the NPC the player temporarily.
Title: Re: NPC using dialog options
Post by: Zoolander on Tue 21/03/2006 14:57:41
I want the player to be able to select the questions. What I can't get is how to get the NPC to animate the speech when you click on the option instead of the player character.
Title: Re: NPC using dialog options
Post by: Ashen on Tue 21/03/2006 15:13:38
Well, like I said you could make the NPC the player before you run the dialog, then switch them back at the end.
Or, you could un-check the 'Say' box for those options, which will stop the line from being 'spoken' by the player. Then you'll need to add a line to the script to make the NPC say it instead.
Title: Re: NPC using dialog options
Post by: Zoolander on Tue 21/03/2006 15:40:48
Okay, I'll try those suggestions.  Thanks.