Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Cogliostro on Sat 09/04/2011 15:42:09

Title: SOLVED: Change SpeechView mid-conversation
Post by: Cogliostro on Sat 09/04/2011 15:42:09
Okay, in the middle of a dialog, someone says something scary/outrageous/funny/etc and the then the characters expression changes to something appropriate scared/shocked/amused.  How can I change the speechview in the DIALOG screen?  Is it possible?  Or do I have to be-bop back and forth between the room script and the dialog script?

- Cogliostro
Title: Re: Change SpeechView mid-conversation
Post by: Cogliostro on Sat 09/04/2011 15:52:26

My streak of luck continues!  I post my question and minutes later find the answer.  For the record here it is:


AGS now lets you put normal scripting commands in your dialog script, by indenting the line with spaces or tabs. So to change the speech view in the dialog screen:

@1
ego: "Do know you're on fire?"
  cBurningMan.SpeechView = 10;
burningman: "Yes!  Welcome to Arizona!"
return