rikardo
05-04-2012, 12:31 AM
Hello all, today i was use one of my script and when the bot was talk with NPC it return a error.
the error is:
[XenoScript] hellheim_full.lua:hellheim_full.lua Invalid number of arguments [106780472 required]!
The script i use to talk with Npc is
elseif (labelName == "label") then
delayWalker(5000,10000)
Self.Say("hi")
wait(1500)
Self.SayToNpc("go")
wait(1500)
Self.SayToNpc("helheim")
wait(1500)
Self.SayToNpc("yes")
and after check the updated i try use the .lua above and it return the same error
elseif (labelName == "label") then
delayWalker(5000,10000)
Self.SayToNpc ({"hi", "go", "helheim", "yes"}, 65)
why this error occours ?
the error is:
[XenoScript] hellheim_full.lua:hellheim_full.lua Invalid number of arguments [106780472 required]!
The script i use to talk with Npc is
elseif (labelName == "label") then
delayWalker(5000,10000)
Self.Say("hi")
wait(1500)
Self.SayToNpc("go")
wait(1500)
Self.SayToNpc("helheim")
wait(1500)
Self.SayToNpc("yes")
and after check the updated i try use the .lua above and it return the same error
elseif (labelName == "label") then
delayWalker(5000,10000)
Self.SayToNpc ({"hi", "go", "helheim", "yes"}, 65)
why this error occours ?