Scripting is something I've been dreading for a while now, and only now have I decided to give it a whirl…
What I want the Game to do is play a simple Intro:
Fade Into Screen One… Display for a while…Fade Out….
Fade Into Screen Three…Display for a while…Fade Out…
Fade Into Screen Two (Title Screen)…
The Script is as follows for Room 1…
// room script file
FadeIn(40);
Wait(60);
FadeOut(40);
ChangeRoom (3);
FadeIn(40);
Wait(60);
FadeOut(40);
ChangeRoom (2);
FadeIn(40)
But comes up with:
Compile Error: there was an error compiling your script.
The problem was in: ‘Main Script'
Error (line 2): Parse error unexpected ‘FadeIn'
Do you want to fix the script now?
Did I write it in the wrong script spot? Didn't I specify something? I dunno… Feedback will be appreciated.
What I want the Game to do is play a simple Intro:
Fade Into Screen One… Display for a while…Fade Out….
Fade Into Screen Three…Display for a while…Fade Out…
Fade Into Screen Two (Title Screen)…
The Script is as follows for Room 1…
// room script file
FadeIn(40);
Wait(60);
FadeOut(40);
ChangeRoom (3);
FadeIn(40);
Wait(60);
FadeOut(40);
ChangeRoom (2);
FadeIn(40)
But comes up with:
Compile Error: there was an error compiling your script.
The problem was in: ‘Main Script'
Error (line 2): Parse error unexpected ‘FadeIn'
Do you want to fix the script now?
Did I write it in the wrong script spot? Didn't I specify something? I dunno… Feedback will be appreciated.