Display messages are removed instantly

Started by SilverWizard_OTF, Sat 14/08/2004 11:52:04

Previous topic - Next topic

SilverWizard_OTF

Hello
I was wondering if there is a way so standard messages  (for example messages that appear with an Display() script command) do not dissappear so fast. 
   I can see a global variable that does that to the speech                                 ( game.text_speech). Is there something like that for messages? Or a way to set a "style" for the messages  (dissolve, cross-fade e.t.c.)?

Thanks for your time
"All we have to decide is what to do, with the time that is given to us"

Barbarian

From the AGS Help Manual, I found a command that may help you:
"
game.text_speed 

How long speech text stays on the screen. Default 15, higher number means shorter time. "

and another command that may be of help:

"
game.bgspeech_game_speed 

If 0 (default), background speech stays on the screen for the same amount of time, no matter what the game speed. If 1, the amount of time it stays is relative to the game speed.  "

   And, another alternative (which I prefer for my own game I'm creating), is from the AGS Editor's General Settings, select "Skip Speech: Mouse or key (no auto remove)"  , that way the text won't dissapear from the screen untill the player click's or presses key to continue. This I find is a good choice in some ways because people read at different speeds, or some may want to skip a text-speech a lot quicker (for example, if it's something they already read before).

  Okay, hope something of that was of help to you.

Conan: "To crush your enemies, see them driven before you, and to hear the lamentation of the women!"
Mongol General: "That is good."

Blade of Rage: www.BladeOfRage.com

Ashen

From the manual:
game.skip_display
Setting for how Display() messages are skipped; valid values are same as for SetSkipSpeech (default 3).

Now, value 3 means "text does not time-out; player must click mouse or press key each time", so I'm not sure why it's vanishing straight away, unless it's been interfered with by something else or you're accidentally double clicking. Anyway, try this in on_game_start:

game.skip_display = 2;

It'll mean text can't be skipped at all, which might get a little annoying, but no more than not being able to read the game messages.
Hope this is of some use.
I know what you're thinking ... Don't think that.

SilverWizard_OTF

Yes, that helped, thanks both of you
Anyway, it would be nice if there was a way to choose a specific "style" for the text [e.g. Dissolve (Like Rooms have)].
"All we have to decide is what to do, with the time that is given to us"

SMF spam blocked by CleanTalk