hey Ags!
I've just tried to run my room (it worked fine earlier), but then I tried some coding in my first room file and BANG! I get these two error messages, I must have done something silly...I cleared up any additions I had made but still had these errors when I tried to compile:
Error1:
Failed to save room room1; details below
Error2: my code looks normal, but when I try and compile this;
// room script file
function hHotspot1_AnyClick()
{
Display("ahh, my prized chicken tickka masala collection");
} //etc etc etc
but the error complains that:
Runtime error: Functon still open, missing }
This error is related to line 1 (the //room script file), and I can't understand why. I tried putting a } there but naturally, that didn't work
Thanks
Geork
Ah, the dreaded missing } error...
This means there is a missing } somewhere in your room script, but the compiler can't tell where. You'll need to go through the file carefully looking for where you have left out a }.
Hint: Use the 'Match Brace' feature of the script editor to check if the braces are paired up appropiately.