IsPlaying - Scene
Revision as of 11:50, 7 July 2014 by imported>Terra Nova2 (Forgot to change the note to this a while back.)
Member of: Scene Script
Returns whether the scene is currently playing or not.
Syntax
bool Function IsPlaying() native
Parameters
None.
Return Value
Returns if the scene is currently playing or not.
Examples
; Is the scene playing
if CoolScene.IsPlaying()
Debug.Trace("Cool scene is playing!")
endIf
Notes
- Even though a scene is stuck, it is still playing, and thus this function will return true. Therefore it is not entirely useful for debugging a scene.