Greeting's MMOwned, I am new to the forums and want contribute.
Here is my first TuT hope you like it :
||LUA TuT||
1.) First lets start off with picking a creature. I used kobold. ( You can use anything you want. )
2.) Now let's start off with the script:
function kobold_talk(pUnit, Event)
if you did not pick Kobold then:
function CREATURENAME_talk(pUnit, Event)
3.) Now to add it's function =P:
fucntion kobold_talk(pUnit, Event)
pUnit:SendChatMessage(11, 0, "You no take candle")
end
4.) Now to finish the script off:
function Kobold_talk(pUnit, Event)
pUnit:SendChatMessage(11, 0, "You no take candle")
end
RegisterUnitEvent(CREATUREID, 1, "Kobold_talk")
5.) Now saving and installing:
Save your script, and insert into script folder ( NOT script_bin )
Please post here if you need help thanks.