Tabitha.lua 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. --[[
  2. Script Name : Tabitha.lua
  3. Script Purpose : Tabitha the cat in Scale Yard
  4. Script Author : Xanibunib
  5. Script Date : 2009.3.26
  6. Script Notes : Meow!
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 22.85, -4.38, 25.22, 3, 0)
  10. MovementLoopAddLocation(NPC, 25.51, -4.38, 21.16, 3, 0)
  11. MovementLoopAddLocation(NPC, 29.79, 0.00, 4.83, 3, 0)
  12. MovementLoopAddLocation(NPC, 24.49, 0.00, -3.24, 3, 0)
  13. MovementLoopAddLocation(NPC, 44.45, -0.07, -3.01, 3, 0)
  14. MovementLoopAddLocation(NPC, 45.35, 0.00, 8.43, 3, 0)
  15. MovementLoopAddLocation(NPC, 42.63, 0.00, 5.77, 3, 0)
  16. MovementLoopAddLocation(NPC, 42.81, 0.00, 2.56, 3, 0)
  17. MovementLoopAddLocation(NPC, 33.90, 0.00, -6.19, 3, 5)
  18. MovementLoopAddLocation(NPC, 36.05, -2.25, -14.10, 3, 0)
  19. MovementLoopAddLocation(NPC, 42.99, -4.35, -12.33, 3, 0)
  20. MovementLoopAddLocation(NPC, 45.40, -4.35, -8.54, 3, 0)
  21. MovementLoopAddLocation(NPC, 51.86, -4.35, -9.80, 3, 0)
  22. MovementLoopAddLocation(NPC, 60.66, -2.25, -7.54, 3, 0)
  23. MovementLoopAddLocation(NPC, 70.23, 0.00, -5.06, 3, 0)
  24. MovementLoopAddLocation(NPC, 72.11, 0.00, -12.64, 3, 0)
  25. MovementLoopAddLocation(NPC, 82.25, 0.00, -13.85, 3, 0)
  26. MovementLoopAddLocation(NPC, 84.51, 0.00, -10.39, 3, 0)
  27. MovementLoopAddLocation(NPC, 81.27, 0.00, -1.76, 3, 0)
  28. MovementLoopAddLocation(NPC, 71.55, 0.00, -4.19, 3, 0)
  29. MovementLoopAddLocation(NPC, 68.14, -2.25, 3.73, 3, 10)
  30. MovementLoopAddLocation(NPC, 76.60, -4.37, 5.26, 3, 0)
  31. MovementLoopAddLocation(NPC, 70.70, -4.37, 14.77, 3, 0)
  32. MovementLoopAddLocation(NPC, 80.96, -4.37, 19.31, 3, 0)
  33. MovementLoopAddLocation(NPC, 90.38, -4.37, 14.80, 3, 0)
  34. MovementLoopAddLocation(NPC, 97.43, -4.37, 19.84, 3, 5)
  35. MovementLoopAddLocation(NPC, 86.07, -4.37, 18.75, 3, 0)
  36. MovementLoopAddLocation(NPC, 77.76, -4.37, 14.64, 3, 0)
  37. MovementLoopAddLocation(NPC, 74.31, -4.31, 6.34, 3, 0)
  38. MovementLoopAddLocation(NPC, 68.96, -2.25, 3.38, 3, 0)
  39. MovementLoopAddLocation(NPC, 69.42, 0.00, -5.39, 3, 0)
  40. MovementLoopAddLocation(NPC, 61.52, -2.25, -7.07, 3, 0)
  41. MovementLoopAddLocation(NPC, 65.45, -4.35, -15.87, 3, 0)
  42. MovementLoopAddLocation(NPC, 61.40, -4.35, -23.16, 3, 8)
  43. MovementLoopAddLocation(NPC, 62.89, -4.35, -27.52, 3, 0)
  44. MovementLoopAddLocation(NPC, 69.62, -4.35, -30.93, 3, 0)
  45. MovementLoopAddLocation(NPC, 75.80, -4.35, -33.60, 3, 0)
  46. MovementLoopAddLocation(NPC, 74.25, -4.35, -36.47, 3, 3)
  47. MovementLoopAddLocation(NPC, 67.77, -4.35, -38.80, 3, 0)
  48. MovementLoopAddLocation(NPC, 59.59, -4.35, -36.54, 3, 0)
  49. MovementLoopAddLocation(NPC, 52.13, -4.35, -40.36, 3, 0)
  50. MovementLoopAddLocation(NPC, 45.21, -4.35, -41.20, 3, 0)
  51. MovementLoopAddLocation(NPC, 40.05, -4.35, -37.90, 3, 10)
  52. MovementLoopAddLocation(NPC, 39.43, -4.35, -31.20, 3, 0)
  53. MovementLoopAddLocation(NPC, 41.45, -4.35, -27.87, 3, 0)
  54. MovementLoopAddLocation(NPC, 41.68, -4.35, -24.00, 3, 0)
  55. MovementLoopAddLocation(NPC, 37.64, -4.03, -20.38, 3, 0)
  56. MovementLoopAddLocation(NPC, 36.48, -2.25, -16.13, 3, 0)
  57. MovementLoopAddLocation(NPC, 34.68, -0.57, -10.39, 3, 0)
  58. MovementLoopAddLocation(NPC, 30.53, 0.00, 5.42, 3, 0)
  59. MovementLoopAddLocation(NPC, 24.92, -4.14, 20.32, 3, 0)
  60. end
  61. function hailed(NPC, Spawn)
  62. FaceTarget(NPC, Spawn)
  63. Say(NPC, "Meow.")
  64. end
  65. function respawn(NPC)
  66. spawn(NPC)
  67. end
  68. function CheckForRats(NPC)
  69. end