kreteno
04-07-2016, 04:31 PM
Hello, I'm trying to create a .lua file with just one function and that is talking to a npc. I do not know what i'm doing wrong here. Sometimes it says there needs to be another end to close ')' at line x, but if I try to edit it, it sometimes doesn't even print the error, just closes the script.
function onWalkerSelectLabel(labelName)
if (labelName == "Mission") then
Walker.Stop()
wait(2500,3000)
Self.SayToNpc({"Hi", "Mission", "yes",}, 80)
wait(800,1740)
Walker.Start()
end
end
function onWalkerSelectLabel(labelName)
if (labelName == "Mission") then
Walker.Stop()
wait(2500,3000)
Self.SayToNpc({"Hi", "Mission", "yes",}, 80)
wait(800,1740)
Walker.Start()
end
end