Can someone show me where I went wrong here I went thru the manual and it said to do this ?
3 #sectionstart game_start // DO NOT EDIT OR REMOVE THIS LINE
4 function game_start
5 PlayVideo (wwot2.avi,1,1);
6 // called when the game starts, before the first room is loaded
7 }
8 #sectionend game_start // DO NOT EDIT OR REMOVE THIS LINE
But it wont work it says
Error (line 4) expected ',' or ';' not PlayVideo
Have i missed something ??
Cheers
Sin
PS wwot2.avi is in the compiled folder and i know that its spelt correctly
I'm not 100% sure, but I don't think you can call a movie before a room loads. :-\
Line 4:
function game_start
Should be:
function game_start () {
How'd you manage to delete that bit? (I'm guessing it's not just a typo here, because deleting the () { causes exactly that error.)
Oh, and you definitely can use PlayVideo in game_start.
Righty o
.
..
...
i tried it again without typos and now I'm getting
undefined symbol "wwot"
HMMM
Dang, missed that bit. The video name is a String, so it has to be in quotes:
PlayVideo ("wwot2.avi",1,1);
Otherwise, it'll be looking for a String called wwot2.avi to get the name from, not a file by that name.
ASHEN you Legend Thanks very much for your patience tis much appreciated
Works a treat ;D ;D ;D
Someone give this guy a medal for flogging a dead horse
SIN ;D ;D
Well, goes to show you what I know... :P
Quote from: LimpingFish on Thu 17/05/2007 00:06:47
Well, goes to show you what I know... :P
Ahh well i would'nt worry Ashen must be sick to the back teeth of me and my questions we all learn sometime
;D ;D ;D
Sin