PDA

View Full Version : Sorcerer Question



Leiknez
03-08-2015, 09:16 PM
I cant make xenobot talk to any npc's. ive tried several scripts, what might be the problem? thanks in advance.

mytholia
03-08-2015, 09:38 PM
I cant make xenobot talk to any npc's. ive tried several scripts, what might be the problem? thanks in advance.
you can do it in two ways:

Either you do it in your xbts file by adding a script and putting in the next line:

Self.SayToNpc({"hi", "text1", "text2"},65) wait(500) end

Or you can do it in a .lua script by label
eleif label=="Npc" then
Self.SayToNpc({"hi", "text1", "text2"},65)

Hope this will help you if you have more questions feel free to ask them either by pm or in this post

shadowart
03-10-2015, 05:22 PM
The lua probably isn't running. Right click the grey area (or on yourself), select the Scripter and launch the script that came with your download.

mytholia
03-10-2015, 07:12 PM
The lua probably isn't running. Right click the grey area (or on yourself), select the Scripter and launch the script that came with your download.
lol didn't think off that doh... :D
But yes if the .lua script isnt running he wont talk to any npc