WaitMouseKey (int time)
Pauses the script and lets the game continue until EITHER:
(a) TIME loops have elapsed, or
(b) the player presses a key, or
(c) the player clicks a mouse button
Returns 0 if the time elapsed, or 1 if the player interrupted it.
Example:
WaitMouseKey(200);
will pause the script and wait until 5 seconds have passed or the player presses a key or
clicks the mouse.
See Also: Wait, WaitKey
|