Code:
local Hl
local mk
function NPC_Hl(pUnit, Event)
Hl = pUnit
Hl:SetFaction(35)
end
RegisterUnitEvent(5000003, 18, "NPC_Hl")
function NPC_mk(pUnit, Event)
mk = pUnit
mk:SetFaction(35)
end
RegisterUnitEvent(5000002, 18, "NPC_mk")
function On_Gossip(unit, event, player)
unit:GossipCreateMenu(100, player, 0)
unit:GossipMenuAddItem(0,"We Are Ready Highlord!", 0, 0)
unit:GossipSendMenu(player)
end
function Gossip_Submenus(Unit, Event, Player, Id, Intid, Code)
if (intid == 0) then
unit:RegisterEvent("Highlord_miscy", 1000, 1)
Player:GossipComplete()
end
end
function Highlord_miscy(pUnit, Event)
Hl:SendChatMessage(12, 0, "Lets go Mok'Rash Theres no need for a Fight over this")
mk:SendChatMessage(14, 0, "NO We will not settle this over a silly conversation....")
mk:Sendchatmessage(12, 0, "I Prefer WAR!")
mk:RegisterEvent("Mok_misc", 90000, 1)
---PH For Moving Hl---
end
end
RegisterUnitGossipEvent(5000003, 1, "On_Gossip")
RegisterUnitGossipEvent(5000003, 2, "Gossip_Submenus")
function Mok_misc(pUnit, Event)
Hl:SendChatMessage(12, 0, "There was once a time when Mok'Rash was a ally a powerful ally")
Hl:SendChatMessage(12, 0, "He fought in the Third War as a Hero of the Horde....I Slayed him in battle")
Hl:RegisterEvent("Highlord_Miscz", 30000, 1)
end
function Highlord_miscz(pUnit, Event)
mk:SendChatMessage(14, 0, "Thats What you thought old man")
mk:SendChatMessage(12, 0, "But The Warlocks of The Old Religion Ressurected me")
mk:RegisterEvent("Highlord_Misczz", 30000, 1)
end
function Highlord_misczz(pUnit, Event)
mk:SendChatMessage(14, 0, "AS THERE KING!")
mk:RegisterEvent("Highlord_Misczzz", 10000, 1)
end
function Highlord_misczzz(pUnit, Event)
Hl:SendChatMessage(12, 0, "Then you must be stoped")
---PH For Movement and Over Bits---
end