// room script file
function hOcean_Look()
{
Display(''I'm walking on.. an ocean?!'');
}
The above is EXACTLY how i got it, and what the tutorial learned me.
However i get this error when i try to Save or Run:
room1.asc(5): Error (line 5): incorrectly terminated character constant
The knowledge base here gives me Errors 404's, and no1 else asked this before when i searched the forums.
Any suggestions?
Hehe, I had to paste the code into AGS to see the error.
This is yours:
Display(''I'm walking on.. an ocean?!'');
This will work:
Display("I'm walking on.. an ocean?!");
Note the
"
instead of
''
And what's that on your keyboard?
-Edit-
Ah ok!! i got it ;D!!
Thanks dude!!
I'll leave this topic open for if anybody else encounters this problem.
Closed for discussion tho.