application.isCurrentGameRunning

Indicates if the currently loaded game is being executed.

Prototype

  1. bYes = application.isCurrentGameRunning ( )

Description

Indicates if the currently loaded game is being executed.


Return values

bYes - true if running


Sample

  1. if ( application.isCurrentGameRunning ( ) == true )
  2. then
  3. this.postEvent ( kUpdateRuntimeInfosDelay, "onPropertyViewSectionUpdateRuntimeInfos" )
  4. end

Available since ShiVa 2.0