Difference between revisions of "ScriptDelay"
From Amulets & Armor Wiki
PeeWeeRotA (Talk | contribs) m (→Arguments: formatting) |
PeeWeeRotA (Talk | contribs) |
||
| Line 20: | Line 20: | ||
End(); | End(); | ||
</nowiki> | </nowiki> | ||
| + | |||
| + | |||
| + | ---- | ||
| + | Back to [[Scripting]] Main Page | ||
Latest revision as of 20:27, 17 October 2016
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