Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: barefoot on Fri 19/02/2010 16:59:41

Title: Multiple text at the same time
Post by: barefoot on Fri 19/02/2010 16:59:41
Hi

I cannot find an answer to the following query:

can you have more than one text display at the same time...   as in a crowded pub where more than one person is talking?

barefoot
Title: Re: Multiple text at the same time
Post by: tzachs on Fri 19/02/2010 17:09:18
Yes, use SayBackground.
Title: Re: Multiple text at the same time
Post by: GarageGothic on Fri 19/02/2010 17:11:37
Or, if you want the character to play the speech animation at the same time, try checking out the Background Speech Module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=35787.0).

Edit: Actually there's a different module (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=23806.msg294725#msg294725) that does the same thing. Not sure which is better.
Title: Re: Multiple text at the same time
Post by: barefoot on Fri 19/02/2010 17:30:24
Hi

I know about SayBackground, except its not SayAt... where you place it where you want.

I may be able to work around this..


game.bgspeech_stay_on_display



QUOTE FROM MANUAL:
If 0 (default), background speech is removed when a Say command happens; if 1, it isn't.

I need this to have a value of 1...  how do I put the 1 in, code wise ?


thanks anyway guys

I will check out that module

barefoot
Title: Re: Multiple text at the same time
Post by: GarageGothic on Fri 19/02/2010 17:33:11
With the modules it should be easy to create a new SayAtInBackground function that takes coordinates as parameters instead of calculating them from the character's location.
Title: Re: Multiple text at the same time
Post by: Khris on Fri 19/02/2010 18:51:09
Quote from: barefoot on Fri 19/02/2010 17:30:24

game.bgspeech_stay_on_display


QUOTE FROM MANUAL:
If 0 (default), background speech is removed when a Say command happens; if 1, it isn't.

I need this to have a value of 1...  how do I put the 1 in, code wise ?

In game_start, add
  game.bgspeech_stay_on_display = 1;
Title: Re: Multiple text at the same time
Post by: barefoot on Fri 19/02/2010 19:12:18
Thank Khris

Im using that in combination with other stuff..

cheers

barefoot