function Manwello(pUnit, event)
pUnit:SetHealthPct(100)
pUnit:SetFaction(35)
end
RegisterUnitEvent(900092, 18, "Dora")
function Manwello_On_Gossip(pUnit, event, player)
pUnit:GossipCreateMenu(1, player, 0)
pUnit:GossipMenuAddItem(0, "I am ready to escort you!", 321, 0)
pUnit:GossipMenuAddItem(0, "I am not ready yet.", 421, 0)
pUnit:GossipSendMenu(player)
end
function Manwello_Gossip_Submenus(pUnit, event, player, id, intid, code)
if(intid == 321) then
if player:IsOnQuest(100013)== true then
pUnit:SetNPCFlags(2)
pUnit:RegisterEvent("Manwello_Start", 1, 1)
pUnit:SendChatMessage(12, 0, "Okay then. It took you some time but lets go!")
player:GossipComplete()
else
player:SendBroadcastMessage("You need the required quest: 'Message Delivery'.")
end
end
if(intid == 421) then
player:GossipComplete()
end
end
function Manwello_Start(pUnit, Event)
pUnit:RegisterEvent("Manwello_StartEvent", 1000, 1)
end
function Manwello_StartEvent(pUnit, Event)
pUnit:RegisterEvent("Manwello_Walk1", 1000, 1)
pUnit:RegisterEvent("Manwello_Walk2", 3000, 1)
pUnit:RegisterEvent("Manwello_Walk3", 13000, 1)
pUnit:RegisterEvent("Manwello_Walk4", 20000, 1)
pUnit:RegisterEvent("Manwello_Walk5", 27000, 1)
pUnit:RegisterEvent("Manwello_Walk6", 54000, 1)
pUnit:RegisterEvent("Manwello_Walk7", 64000, 1)
pUnit:RegisterEvent("Manwello_Walk8", 69000, 1)
pUnit:RegisterEvent("Manwello_Walk9", 85000, 1)
pUnit:RegisterEvent("Manwello_Walk10", 103000, 1)
pUnit:RegisterEvent("Manwello_Walk11", 116000, 1)
pUnit:RegisterEvent("Manwello_Walk12", 124000, 1)
pUnit:RegisterEvent("Manwello_Walk13", 131000, 1)
pUnit:RegisterEvent("Manwello_Despawn", 132000, 1)
end
function Manwello_Walk1(pUnit, Event)
pUnit:MoveTo(-13925, 2957, 7.348839, 4.5)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk2(pUnit, Event)
pUnit:MoveTo(-13927, 2946, 3.695342, 4.4)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk3(pUnit, Event)
pUnit:MoveTo(-13850, 2946, 1.488060, 0.0)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk4(pUnit, Event)
pUnit:MoveTo(-13845, 3010, 4.261274, 1.3)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk5(pUnit, Event)
pUnit:MoveTo(-13822, 3034, 5.000000, 0.63)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk6(pUnit, Event)
pUnit:MoveTo(-13791, 3257, 6.970440, 1.42)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk7(pUnit, Event)
pUnit:MoveTo(-13859, 3238, 44.731903, 3.40)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk8(pUnit, Event)
pUnit:MoveTo(-13882, 3267, 59.115154, 2.23)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk9(pUnit, Event)
pUnit:MoveTo(-14008, 3264, 121.847466, 3.54)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk10(pUnit, Event)
pUnit:MoveTo(-13985, 3140, 130.639008, 3.27)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk11(pUnit, Event)
pUnit:MoveTo(-14007, 3133, 141.619003, -0.061047)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk12(pUnit, Event)
pUnit:MoveTo(-13998, 3140, 135.136078, 0.019246)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Walk13(pUnit, Event)
pUnit:MoveTo(-13998, 3140, 135.136078, 0.19246)
pUnit:SendChatMessage(12, 0, "Balls!")
end
function Manwello_Despawn(pUnit, Event)
pUnit:SendChatMessage(12, 0, "Im gonna despawn becose this was a test run!")
pUnit

espawn(15000, 20000)
end
RegisterUnitGossipEvent(900092, 1, "Manwello_On_Gossip")
RegisterUnitGossipEvent(900092, 2, "Manwello_Gossip_Submenus")