diff --git a/Example Scripts/EmoteBack.lua b/Example Scripts/EmoteBack.lua new file mode 100644 index 0000000..358183d --- /dev/null +++ b/Example Scripts/EmoteBack.lua @@ -0,0 +1,10 @@ +print "----------- NPC Emote back ---" + +local emotenpc = 28993 +local emoteback = "Sorry, you're not my type !" +local function Npc_example(event, creature, plr, emoteid) + if (emoteid) then + creature:SendUnitSay(emoteback, 0) + end +end +RegisterCreatureEvent(emotenpc , 8, Npc_example, 17)