Hey guys,
how can i make an npc talk every 15 seconds?
for example, king varian wrynn saying hello there every 15 seconds.
i have searched everywhere.
thanks in advance.
Hey guys,
how can i make an npc talk every 15 seconds?
for example, king varian wrynn saying hello there every 15 seconds.
i have searched everywhere.
thanks in advance.
function KingSpamSpawn(pUnit, Event)
pUnit:RegisterEvent("spam", 15000, 0)
function spam(pUnit)
pUnit:SendChatMessage(12,0,"Hello there!")
pUnit:Emote(1,3000) -- talk
end
RegisterUnitEvent(npcid, 18, "KingSpamSpawn")
Thank you, works a charm![]()