PauseGame ()
Stops the engine processing character movement and animation, and other
game features. This has the same effect on the game as happens when a
script-only interface is popped up. The processing will not resume until
you call the UnPauseGame function.
NOTE: When the game is paused, game cycles will continue to run but
no animations or movement will be performed. Therefore, any timers that
you are running or Wait() commands will continue to run as normal.
Example:
if (IsKeyPressed(32)==1) PauseGame();
will pause the game if the player presses the space bar
See Also: UnPauseGame
|