Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Dengeon_Graveyard_OnStart(punit, event)
- punit:RegisterEvent("Start_Graveyard_Check", 1000, 0)
- end
- function Start_Graveyard_Check(punit, event)
- local plr = punit:GetClosestPlayer()
- if(plr) then
- if punit:GetDistanceYards(plr) <= 10 then
- punit:RemoveEvents()
- punit:RegisterEvent("Intro_Start", 1000, 1)
- end
- end
- end
- function Intro_Start(punit, event)
- punit:SendChatMessage(14, 0, "Heros of Azeroth, your here...")
- punit:RegisterEvent("Intro_Two", 5000, 1)
- end
- function Intro_Two(punit, event)
- punit:SendChatMessage(14, 0, "I think that he is in here")
- punit:RegisterEvent("Intro_Tree", 6000, 1)
- end
- function Intro_Tree(punit, event)
- punit:SendChatMessage(14, 0, "We Have to move out now before is to late!")
- punit:RegisterEvent("Intro_Four", 5500, 1)
- end
- function Intro_Four(punit, event)
- punit:SendChatMessage(14, 0, "Wait... What was that? did you ear that noise?")
- punit:RegisterEvent("Intro_Five", 7000, 1)
- end
- function Intro_Five(punit, event)
- punit:SendChatMessage(14, 0, "They know that we are here! Be Ready Warriors! The Fight of your Lives is closer then ever!")
- punit:RegisterEvent("Intro_End", 7000, 1)
- end
- function Intro_End(punit, event)
- punit:RegisterEvent("First_Wave", 3000, 1)
- end
- function First_Wave(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 1/99")
- punit:SpawnCreature(26, 1717.20, 1094.70, 6.82, 2.17, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(26, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1747.81, 1099.11, 6.82, 2.58, 15, 60000)
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:RegisterEvent("Wave_Two", 30000, 1)
- end
- function Wave_Two(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 2/99")
- punit:SpawnCreature(26, 1715.59, 1100.28, 6.82, 5.64, 15, 60000)
- punit:SpawnCreature(26, 1724.89, 1098.12, 6.82, 3.10, 15, 60000)
- punit:SpawnCreature(26, 1734.85, 1101.54, 6.82, 3.34, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:RegisterEvent("Wave_three", 30000, 1)
- end
- function Wave_three(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 3/99")
- punit:SpawnCreature(26, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1747.81, 1099.11, 6.82, 2.58, 15, 60000)
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(26, 1715.59, 1100.28, 6.82, 5.64, 15, 60000)
- punit:SpawnCreature(26, 1724.89, 1098.12, 6.82, 3.10, 15, 60000)
- punit:RegisterEvent("Wave_Four", 30000, 1)
- end
- function Wave_Four(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 4/99")
- punit:SpawnCreature(26, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1747.81, 1099.11, 6.82, 2.58, 15, 60000)
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(26, 1715.59, 1100.28, 6.82, 5.64, 15, 60000)
- punit:SpawnCreature(26, 1724.89, 1098.12, 6.82, 3.10, 15, 60000)
- punit:RegisterEvent("Wave_Five", 30000, 1)
- end
- function Wave_Five(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 5/99")
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(27, 1734.85, 1101.54, 6.82, 3.34, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(27, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1717.20, 1094.70, 6.82, 2.17, 15, 60000)
- punit:RegisterEvent("Wave_Sixe", 30000, 1)
- end
- function Wave_Sixe(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 6/99")
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(27, 1734.85, 1101.54, 6.82, 3.34, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(27, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1717.20, 1094.70, 6.82, 2.17, 15, 60000)
- punit:RegisterEvent("Wave_Seven", 35000, 1)
- end
- function Wave_Seven(punit, event)
- punit:RemoveEvents()
- punit:SendChatMessage(42, 0, "Wave 7/99")
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(27, 1734.85, 1101.54, 6.82, 3.34, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(27, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1717.20, 1094.70, 6.82, 2.17, 15, 60000)
- punit:RegisterEvent("Wave_eight", 35000, 1)
- end
- function Wave_eight(punit, event)
- punit:RemoveEvent()
- punit:SendChatMessage(42, 0, "Wave 8/99")
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(27, 1734.85, 1101.54, 6.82, 3.34, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(27, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1717.20, 1094.70, 6.82, 2.17, 15, 60000)
- punit:RegisterEvent("Wave_Nine", 35000, 1)
- end
- function Wave_Nine(punit, event)
- punit:RemoveEvent()
- punit:SendChatMessage(42, 0, "Wave 9/99")
- punit:SpawnCreature(26, 1736.81, 1093.51, 6.82, 2.56, 15, 60000)
- punit:SpawnCreature(27, 1734.85, 1101.54, 6.82, 3.34, 15, 60000)
- punit:SpawnCreature(26, 1728.83, 1101.58, 6.82, 3.45, 15, 60000)
- punit:SpawnCreature(27, 1737.10, 1095.60, 6.82, 5.71, 15, 60000)
- punit:SpawnCreature(26, 1717.20, 1094.70, 6.82, 2.17, 15, 60000)
- punit:RegisterEvent("Wave_Ten_FirstBoss", 60000, 1)
- end
- RegisterUnitEvent(24, 18, "Dengeon_Graveyard_OnStart")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement