Difference between revisions of "IsPlaying - Scene"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Jlundin
 
imported>Terra Nova2
(Added note.)
Line 23: Line 23:
endIf
endIf
</source>
</source>
== 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]


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

Revision as of 08:45, 12 February 2014

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

  • There is a possibility that this function will return true regardless if the scene is playing or not. Source

See Also