Video.GetState

number Video.GetState ( 

string ObjectName )

Example 1

intro_state = Video.GetState("Intro Video");

Gets the current state of the video object named "Intro Video" and stores it in the "intro_state" variable.

Example 2

if Video.GetState("Intro Video") == VIDEO_PLAYING then Debug.Print("\r\nIntro Video playing ok...") end

Prints "Intro Video playing ok..." to the debug window if the video object named "Intro Video" is currently playing.

See also:  Related Actions