MichaelCrow

Pentagramnpcs

Jul 12th, 2012
335
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.12 KB | None | 0 0
  1. function spawnz(punit, event)
  2. casterone = punit
  3. RegisterTimedEvent("castone", 1000, 1)
  4. end
  5.  
  6. function spawnzz(punit, event)
  7. castertwo = punit
  8. RegisterTimedEvent("casttwo", 1000, 1)
  9. end
  10.  
  11. function spawnzzz(punit, event)
  12. casterthree = punit
  13. RegisterTimedEvent("castthree", 1000, 1)
  14. end
  15.  
  16. function spawnzzzz(punit, event)
  17. casterfour = punit
  18. RegisterTimedEvent("castfour", 1000, 1)
  19. end
  20.  
  21. function spawnzzzzz(punit, event)
  22. casterfive = punit
  23. RegisterTimedEvent("castfive", 1000, 1)
  24. end
  25.  
  26. function castone(punit, event)
  27. casterone:ChannelSpell(72303, castertwo)
  28. end
  29.  
  30. function casttwo(punit, event)
  31. castertwo:ChannelSpell(72303, casterthree)
  32. end
  33.  
  34. function castthree(punit, event)
  35. casterthree:ChannelSpell(72303, casterfour)
  36. end
  37.  
  38. function castfour(punit, event)
  39. casterfour:ChannelSpell(72303, casterfive)
  40. end
  41.  
  42. function castfive(punit, event)
  43. casterfive:ChannelSpell(72303, casterone)
  44. end
  45.  
  46. RegisterUnitEvent(caster1id, 18, "spawnz")
  47. RegisterUnitEvent(caster2id, 18, "spawnzz")
  48. RegisterUnitEvent(caster3id, 18, "spawnzzz")
  49. RegisterUnitEvent(caster4id, 18, "spawnzzzz")
  50. RegisterUnitEvent(caster5id, 18, "spawnzzzzz")
Advertisement
Add Comment
Please, Sign In to add comment