Delays
Posted: Fri Nov 06, 09 5:49 am
How i can insert delays in UnrealScript? In Delphi this is Sleep() but this is not Delphi. There is same function in UScript too, but i cannot use it in events and functions.
For example i have this code:
and i want to insert a delay after each string, for example couple of seconds.
For example i have this code:
- Code: Select all
simulated event RenderTexture(ScriptedTexture Tex)
{
if (bAllowRendering)
{
Tex.DrawText(16, 32,"Режим работы: нормальный" , Font'DeusExUI.FontMenuHeaders');
Tex.DrawText(16, 48,"Двойной режим включен." , Font'DeusExUI.FontMenuHeaders');
Tex.DrawText(16, 64,"Интервал обновления текущего" , Font'DeusExUI.FontMenuHeaders');
and i want to insert a delay after each string, for example couple of seconds.