Howdy, I downloaded AGS a few days ago and I've started work on my first little game. I read and went through the manual but on step 4 (objects) i've got a problem. I've been following the manual pretty spot on but for some reason I keep getting a " Error (line 17): PE04: parse error at 'oFoyerKey' " can someone tell me where I goofed? I've been following the manual pretty closely (changing the name of the key in every place the key is referenced as oKey so it shouldn't matter)
http://puu.sh/2FSbS.jpg properties
http://puu.sh/2FSdy.jpg event
http://puu.sh/2FSfU.png Room script
http://puu.sh/2FSgX.png Inventory key
You have the line:
oFoyerKey.Visible-true;
It should be "=true", not "-true".
[imgzoom]http://puu.sh/2FSRj.png[/imgzoom]
I swear I'll kill the man who took the screenshot
Err.... what?
Now it is "false"...
Anyway, you need to use "=" operator to assign value to variable.
hawkofrawk is talking about this screenshot from the tutorial (http://www.adventuregamestudio.co.uk/manual/acintro4.htm) :)
(http://www.adventuregamestudio.co.uk/manual/images/intro4_5.jpg)
Quote from: Khris on Wed 24/04/2013 04:23:51
hawkofrawk is talking about this screenshot from the tutorial (http://www.adventuregamestudio.co.uk/manual/acintro4.htm) :)
Oooh... (wtf)
lol, yes, it may cause confusion.
Quote from: hawkofrawk on Wed 24/04/2013 01:00:57
I swear I'll kill the man who took the screenshot
Wow, that escalated quickly ;)