Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Mr_Frisby on Sun 17/09/2006 02:01:32

Title: game.bgspeech_stay_on_display
Post by: Mr_Frisby on Sun 17/09/2006 02:01:32
I can get DisplaySpeechBackground to work but not stay on continuously -

Can someone please explain how I get : game.bgspeech_stay_on_display
set to 1?

I tried game.bgspeech_stay_on_display =1;
in the :
function game_start()

and within the scrpit I was working in (on seperate occasions of course)
but it only displays the speech once -
I don't get the manual and i'm either setting it wrong or in the wrong place

Please explain this if you can
Thanks
Frazzled

Title: Re: game.bgspeech_stay_on_display
Post by: Ashen on Sun 17/09/2006 12:07:49
You should only need to set it once, and game_start should do it. Try adding a few Display ("%d", game.bgspeech_stay_on_display);, to make sure it has changed.

But, what are you trying to do? game.bgspeech_stay_on_display = 1; will only make Background Speech stay on when a regular Speech command (Character.Say or DisplaySpeech, depending on the verson you're using) is called - it doesn't affect HOW LONG the speech displays, which is my understanding of what you want. If so, perhaps a TextOverlay (http://www.adventuregamestudio.co.uk/manual/Overlay.CreateTextual.htm) would be more use to you? You can colour and position it to look like Speech, and it won't time out until you tell it to.
Title: Re: game.bgspeech_stay_on_display
Post by: Mr_Frisby on Sun 17/09/2006 12:34:06
Text overlay is exactly what I was trying to do
I was mistaken in thinking game.bgspeech_stay_on_display  makes it stay on longer (manual is unclear to a candy floss brain)

Thanking you mr ashen you be a cool bunny.