Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: steptoe on Mon 16/04/2012 07:44:02

Title: DisplayAt: No delay
Post by: steptoe on Mon 16/04/2012 07:44:02
Hi

I understood that DisplayAt was a blocking script yet the below passes after showing just a second. I think I will need to use a GUI instead. Meanwhile do you know why it does not text delay as per rest of game.?

At beginning of game:

Game.TextReadingSpeed = 15;
game.skip_display = 0;.


DisplayAt runs in room_RepExec:

if (MURDERERS==true)
  {
DisplayAt(20,33, 620, "%s %s %s %s",
"",
"",
"",
"");

DisplayAt(20,33, 620, "%s %s %s %s",
"",
"",
"",
"");

DisplayAt(20,33, 620, "%s %s %s %s",
"",
"",
"",
"");
RestartGame();


Cheers

steptoe


Title: Re: DisplayAt: No delay
Post by: fuzzie on Mon 16/04/2012 09:30:47
Quote from: steptoe on Mon 16/04/2012 07:44:02
At beginning of game:

Game.TextReadingSpeed = 15;
game.skip_display = 0;.


Well, at a rate of 15 characters per second, if you have no minimum text delay set, then just 3 spaces are only going to be displayed for 1s.
Title: Re: DisplayAt: No delay
Post by: steptoe on Mon 16/04/2012 10:56:07
Hi,

My mistake, I actually have it set for 7, twice as long.

Anyhow, I have gone with a GUI instead..

Cheers..