Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: zeek on Tue 31/12/2013 22:27:53

Title: Changing a Speech view mid-game...
Post by: zeek on Tue 31/12/2013 22:27:53
Hello,

I apologize if this has been covered before... Is there a way to change a speech view during game play?  For example, if you character alters his/her attire during the game, and speaks before and after the outfit change... How would I set that?

I know how to set a basic view...

Code (ags) Select

cCharacter.SetView(35);


But that doesn't seem to apply to speech.

Thanks for your time,
Isaac
Title: Re: Changing a Speech view mid-game...
Post by: elegantmechanic on Wed 01/01/2014 00:54:55
You need to use Character.SpeechView

http://www.adventuregamestudio.co.uk/wiki/Character_functions_and_properties#Character.SpeechView (http://www.adventuregamestudio.co.uk/wiki/Character_functions_and_properties#Character.SpeechView)
Title: Re: Changing a Speech view mid-game...
Post by: zeek on Wed 01/01/2014 01:32:19
Fantastic, thank you!  I was working around by making separate characters, and that was getting a little clunky, I figured there was a simple command for it...  I appreciate the help.

Isaac