From e5dfecdbf976bda612aac05f3375e52c3c43ee0c Mon Sep 17 00:00:00 2001 From: ConradBunton <wownemesisserver@gmail.com> Date: Tue, 7 Nov 2017 23:37:45 +0100 Subject: [PATCH] EmoteBack.lua NPC 28993 answer when you send her an emote. --- Example Scripts/EmoteBack.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Example Scripts/EmoteBack.lua 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)