Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Playing a movie via script

Page: 1 of 1
 Doc Valentine
11-10-2004, 4:31 PM
#1
What script can I use to start a movie (cutscene)?


Original thread (http://www.lucasforums.com/showthread.php?s=&threadid=143292)
 Darth333
12-17-2004, 1:45 PM
#2
You can use either the StartNewModule function (if you want an inter-module movie, or the PlayMovie/QueueMovie functions (for intra-module movies)

To play movies during a transition between two modules:

void main()
{
// Send you to the caves on Dantoine after
// playing a video showing the Leviathan
// the movie's name is "05r"
StartNewModule("danm14ae","", "05r");
}

To simply play a movie inside your current module, use:

// usage: PlayMovie( string sMovie );
// example:
PlayMovie("05r");


You can also use the Queue movie script:
//replace FALSE by TRUE if you want it to be skipable when hitting esc.
// usage: QueueMovie( string sMovie, FALSE);
//example:
QueueMovie("05r",FALSE);
QueueMovie("06r",FALSE);
PlayMovieQueue();


QueueMovie is best to use when playing several movie clips in sequence since it prevents breaks (and often screen resolution changes) between each clip.

Be sure to put any new movie file in the Movies folder ;)
Page: 1 of 1