Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Thu 15/03/2007 17:28:22

Title: Text box image
Post by: on Thu 15/03/2007 17:28:22
Hi!

   As I have said before I am a real novice with working with AGS, so if I am not using the right terminology or scripting please feel free to correct me!
   Right now I am working on my first game (which will be a birthday gift) and I am editing the dialog text box. I am using the Sierra portrait style and I wanted to change the image of the main character (EGO) that is to the left of the conversation  topics. How can I do this?
   I hope I have made myself clear enough, let me know if I should elaborate.

Sincerely,
Bowtolaura
   
Title: Re: Text box image
Post by: Ashen on Thu 15/03/2007 17:48:37
If you're just using the default Sierra-style speech, that image is the Character's Speech View. To change the image, just change the Speech View with the Character.SpeechView (http://www.adventuregamestudio.co.uk/manual/Character.SpeechView.htm) property. E.g.:

cEgo.SpeechView = 10;
cEgo.Say("Hello.");
cEgo.SpeechView = 15;
cEgo.Say("Hello again.");


Unfortunately, you'll need to have a whole view for each differnt portrait, as it can only use the first Loop for Sierra-style speech.
Title: Re: Text box image
Post by: on Sat 17/03/2007 17:37:27
Hi Ashen,

   Solved again! Thanks! If it wasn't for this forum I wouldn't be making this game, that's for sure.

Sincerely,

Bowtolaura