Hi!
I want a fade in and a fade out in intro of my game but when i put:
// room script file
FadeOut(30);
Wait(40);
FadeIn(10);
A error appear... (Parse error: unexpected "fadeOut")
What the problem!?
Thanks! ;)
Maybe you typed 'fadeOut' instead of 'FadeOut'
I mean maybe you forgot writing the letter 'F' as a capital letter.
the problem persist...
:S
Can you show us all your script context?
If that's literally all you have, then the problem is that the commands aren't insiade a function. Do a forum search - that's the most common cause of 'unexpected (whatever)' errors. You'll need to put that code in an Interaction (e.g. 'Player enters room', 'Walk off left screen edge', etc, or a Hotspot/Object/Character interaction) to get it to run.
If it already IS in an interaction, then like Joe Carl says show the surrounding code too.