spacer graphic
spacer graphic
Montage of games AGS Logo
spacer graphic

 

spacer graphic
Menu
spacer graphic Home
About
News
Features
Download AGS
spacer graphic Games 
Games main page
Award Winners
Picks of the month
Short games
Medium length games
Full length games
In Production
Hints & Tips
Community
Forums
AGSers World Map
Member websites
Chat
Resources
Tutorials
FAQ
Knowledge Base
Downloads
Links
AGS-related links
* AGS Manual
  * Scripting
    * Game / Global functions

PauseGame

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


User comments and notes
There are currently no user comments on this page.
The user comment facility is currently disabled.