Not Understanding Error
So I've been trying to figure out this lua system for writing quests since all my perl quest files don't work. It was pretty much alright until recently. I wrote 2 different quests and modified one I had wrote before. The one I modified worked perfectly, but the 2 new ones didn't work. When I did a #questerrors on the NPCs I got the following error:
Code:
quests/eastkarana/Translocator_Nerduin.lua:6: ')' expected near ';' Code:
function event_say(e) Code:
function event_say(e) |
Try changing
Code:
e.self:Say("Whenever you're [" .. eq.say_link("ready",false,"ready" .. "] just give me word and hold on!"); Code:
e.self:Say("Whenever you're [" .. eq.say_link("ready",false,"ready") .. "] just give me word and hold on!"); |
Semi-colons ( ; ) are optional in lua (only required if you want to do multiple statements on a single line.)
Also these are all equivalent (as they are with Perl) Code:
eq.say_link("materials", false, "materials") |
Quote:
|
You have an extra end. (Line 9 if I counted right)
|
All times are GMT -4. The time now is 05:28 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.