Difference between revisions of "IsPlaying - Scene"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Terra Nova2
(Added note.)
imported>Terra Nova2
m (Forgot to change the note to this a while back.)
 
Line 25: Line 25:


== Notes ==
== Notes ==
*There is a possibility that this function will return true regardless if the scene is playing or not. [http://forums.bethsoft.com/topic/1488175-trouble-starting-a-scene/#entry23342728 Source]
*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.


== See Also ==
== See Also ==

Latest revision as of 11:50, 7 July 2014

Member of: Scene Script

Returns whether the scene is currently playing or not.

Syntax[edit | edit source]

bool Function IsPlaying() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Returns if the scene is currently playing or not.

Examples[edit | edit source]

; Is the scene playing
if CoolScene.IsPlaying()
  Debug.Trace("Cool scene is playing!")
endIf

Notes[edit | edit source]

  • 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.

See Also[edit | edit source]