avi files

Started by chessm29, Tue 02/09/2003 22:10:03

Previous topic - Next topic

chessm29

I am having trouble adding an avi file to my game? Can anyone please reply? I have tried the manual, but it didn't help.

Ishmael

What exactly are you doing? You should be able to play an .avi with PlayVideo(...); text script command.

QuoteI have tried the manual, but it didn't help.

What did you try to do with the manual? Play it as well? :D (j/k)
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

chessm29

its the guy who posted this message

hey tk i tried the playvideo(...) and all that but it said i have a parse error in the global script do you want to fix it?

can u please reply

Gilbert

Be concise on your problem. Please post the exact line you typed in the script here, and maybe post the exact error message as well.
People cant help you with such vague information.

Probably you just missed a semicolon at the end of the line...

chessm29

i wrote this exact message:

PlayVideo (clip1.avi, 0, 1);

i'm just asking if this is wrong
if yes, what exact part of it is wrong

note: i tried with and without semicolon
        +clip1.avi is the video file

thanks for any replys

Pumaman

Because the filename is a string, you need to put speech marks round it:

PlayVideo ("clip1.avi", 0, 1);



chessm29

I tried the speech marks, but unfortunately, it didn't work.
I don't know what to do.

Fuzzpilz

Is the avi file in the Compiled folder?

Pumaman

Also, please be more specific about the problem, and any error messages you get.

"It didn't work" isn't very helpful if we're trying to figure out the problem.

SMF spam blocked by CleanTalk