ScriptDelay

From Amulets & Armor Wiki
Jump to: navigation, search

Delay( Ticks )

Pauses execution of the current script until the timeout is reached.

Arguments

Ticks - Number of gameticks to wait. 70 ticks is about 1 second.

Example

21:     // open middle door
   Block(Block7);
   SlideCeilingNice(165,0,120,50,-1);
   AreaSound(5003, 24, 931, 500, 255);
   Delay(90);
   SlideCeilingNice(165,0,0,50,-1);
   AreaSound(5003, 24, 931, 500, 255);
   Delay(70);
   Unblock(Block7);
   End();



Back to Scripting Main Page