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.
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)
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
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...
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
Because the filename is a string, you need to put speech marks round it:
PlayVideo ("clip1.avi", 0, 1);
I tried the speech marks, but unfortunately, it didn't work.
I don't know what to do.
Is the avi file in the Compiled folder?
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.