Help with intro

Started by , Sun 03/09/2006 21:11:03

Previous topic - Next topic

cflribeiro

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!  ;)

Joe

Maybe you typed 'fadeOut' instead of 'FadeOut'
I mean maybe you forgot writing the letter 'F' as a capital letter.
Copinstar © Oficial Site

cflribeiro

the problem persist...
:S

Joe

Can you show us all your script context?
Copinstar © Oficial Site

Ashen

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.
I know what you're thinking ... Don't think that.

SMF spam blocked by CleanTalk