User Tools

Site Tools


4rpl:commands:getpause

This is an old revision of the document!


Index

GetPause

GetPause ->isPaused

Description

Returns a boolean indicating if the game is paused (for any reason). Different things can pause the game and some pauses 'stack' This call will return true if the game is paused for any reason. Note that scripts usually don't run while the game is paused, so this call is most useful in scripts that are set to run when the game is paused.

Examples

   if (GetPause)
      Print("Game is paused")
   endif

Index

4rpl/commands/getpause.1610121708.txt.gz · Last modified: 2025/02/14 14:56 (external edit)