Kelethin.lua 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/WillowWood/Kelethin.lua
  3. Script Purpose : Kelethin
  4. Script Author : Scatman
  5. Script Date : 2009.09.15
  6. Script Notes :
  7. --]]
  8. --[[
  9. function spawn(NPC)
  10. MovementLoopAddLocation(NPC, 847.87, -22.04, -638.03, 2, math.random(0, 30))
  11. MovementLoopAddLocation(NPC, 840.68, -22.38, -629.9, 2, math.random(0, 30))
  12. MovementLoopAddLocation(NPC, 849.15, -21.02, -617.52, 2, math.random(0, 30))
  13. MovementLoopAddLocation(NPC, 850.59, -20.68, -612.62, 2, math.random(0, 30))
  14. MovementLoopAddLocation(NPC, 864.96, -18.61, -608.15, 2, math.random(0, 30))
  15. MovementLoopAddLocation(NPC, 867.68, -18.68, -592.61, 2, math.random(0, 30))
  16. MovementLoopAddLocation(NPC, 875.56, -16.43, -587.45, 2, math.random(0, 30))
  17. MovementLoopAddLocation(NPC, 882.93, -15.27, -597.71, 2, math.random(0, 30))
  18. MovementLoopAddLocation(NPC, 876.99, -18.68, -612.57, 2, math.random(0, 30))
  19. MovementLoopAddLocation(NPC, 874.73, -20.21, -630.67, 2, math.random(0, 30))
  20. MovementLoopAddLocation(NPC, 863.27, -20.74, -641.81, 2, math.random(0, 30))
  21. MovementLoopAddLocation(NPC, 844.27, -21.07, -648.19, 2, math.random(0, 30))
  22. MovementLoopAddLocation(NPC, 812.66, -21.05, -650.34, 2, math.random(0, 30))
  23. MovementLoopAddLocation(NPC, 807.24, -21.08, -633.43, 2, math.random(0, 30))
  24. MovementLoopAddLocation(NPC, 809.58, -20.09, -620.97, 2, math.random(0, 30))
  25. MovementLoopAddLocation(NPC, 806.92, -20.16, -612.42, 2, math.random(0, 30))
  26. MovementLoopAddLocation(NPC, 811.21, -20.29, -598.53, 2, math.random(0, 30))
  27. MovementLoopAddLocation(NPC, 820.55, -19.78, -591.13, 2, math.random(0, 30))
  28. MovementLoopAddLocation(NPC, 829.5, -19.56, -589.52, 2, math.random(0, 30))
  29. MovementLoopAddLocation(NPC, 835.55, -20.79, -603.45, 2, math.random(0, 30))
  30. MovementLoopAddLocation(NPC, 831.92, -21.53, -620.7, 2, math.random(0, 30))
  31. MovementLoopAddLocation(NPC, 840.55, -22.38, -631.4, 2, math.random(0, 30))
  32. MovementLoopAddLocation(NPC, 839.62, -21.67, -644.1, 2, math.random(0, 30))
  33. MovementLoopAddLocation(NPC, 846.86, -21.44, -646.24, 2, math.random(0, 30))
  34. end
  35. ]]--
  36. function spawn(NPC)
  37. OnGrate(NPC)
  38. end
  39. function OnGrate(NPC)
  40. MoveToLocation(NPC,805.35, -20.97, -636.94, 0.5)
  41. AddTimer(NPC,2000,"OnGrate")
  42. end
  43. function respawn(NPC)
  44. spawn(NPC)
  45. end
  46. function hailed(NPC, Spawn)
  47. end