DisplayAt: No delay

Started by steptoe, Mon 16/04/2012 07:44:02

Previous topic - Next topic

steptoe

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:
Code: ags

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


DisplayAt runs in room_RepExec:
Code: ags

 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



fuzzie

Quote from: steptoe on Mon 16/04/2012 07:44:02
At beginning of game:
Code: ags

 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.

steptoe

Hi,

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

Anyhow, I have gone with a GUI instead..

Cheers..

SMF spam blocked by CleanTalk