View Single Post
Old 12-17-2004, 01:45 PM   #2
Darth333
Administraterror
 
Darth333's Avatar
 
Status: Administrator
Join Date: Feb 2004
Location: In my secret dungeon...
Posts: 8,295
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:

Code:
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:
Code:
// usage: PlayMovie( string sMovie );
// example:
PlayMovie("05r");
You can also use the Queue movie script:
Code:
//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

Last edited by tk102; 01-23-2005 at 03:07 PM.
Darth333 is offline   you may: quote & reply,