Originally Posted by merlight
That likely means you have something evil before the for. When I simply pasted the piece from your initial post into Lua console, I got unexpected symbol near '{' (which was kind of expected )
edit: probably some unclosed braces...
|
Well if I comment out that entire "for" loop then I get no errors at all, so it is in that loop it goes wrong.
I can see Sasky pointed the problem out
Originally Posted by Sasky
...you can't have a for statement within a table.
|
On with the job the oldfashion way, I guess