Page 2 of 2
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 12:00 pm
by DrKojak
Doridion wrote:And for your problem, try to write in 3407 and 3408 lines : XXXX.item, and not just ".item" ^^
adding 'letter' or 'letter_1' didn't work, but then i saw your post, it's fixed now!
yeah this is kinda my stupidity, and since i haven't scripted anything before grimrock 1 and 2
Well im embarrassed, but thanks!
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 12:05 pm
by NutJob
I been working several hours only trying to force a lantern to a wall, with no luck.
Bad code:
Code: Select all
dungeon_wall_lantern_1.model:setAnchorPos(vec(0.05, 1.53, -0.25))
Why don't lanterns default to the wall?! Rarrrrrg! I wish we'd just get dump of all the method calls to the scripting reference. I don't even care if it's organized, formatted, or explained anymore. Just dump it all to a text file and I'll sort it out. heh
Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 12:28 pm
by Doridion
Glad your problem is solved ^^
@NutJob : Simple search in Search bar/section with terms like "Unexpected symbol error" gives directly the link to some threads
Anyway, in the future DrKojak, try to remember Ref-name or ID-name of your items/monsters/etc. LoG2 include an ID search system by typing "F" when nothing selectioned if i remember well. More else, when you're on an/the item, you can search all it references by clicking on the "controller" box.
The Modding section of the website is growing and script references will come soon, so if you're not sure, ask for, every modder is always welcome

Re: Unexpected symbol error
Posted: Fri Oct 24, 2014 2:11 pm
by DrKojak
Thanks!