Wait Unexpected

Started by CountGiuseppe, Mon 14/03/2005 05:51:37

Previous topic - Next topic

CountGiuseppe

When i write in the (room script) area
to wait, i write this

function Room_Load
Wait(560);
NewRoom(2);
 
But when i go to test the game it says

Error (line1): Unexpected 'Wait'

what am i doing wrong.
Please help

From Joe

MrColossal

You can't have a wait before the room loads.

Put it in after the room fades in.
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

Radiant

Also, you must put () after a function declaration, and { } around the code that actually comprises the function.

SMF spam blocked by CleanTalk