9
3

treeskipper.lua 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. --[[
  2. Script Name : treeskipper.lua
  3. Script Purpose : Waypoint Path for treeskipper.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 04:12:39 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function InRange(NPC, Spawn)
  19. local choice = math.random(1,5)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/human_eco_good_tunarianalliance/ft/eco/good/human_eco_good_tunarianalliance_hail_gm_1bda6347.mp3", "The destructive methods of the Qeynos Guard will ravage that which it seeks to defend.", "", 421213855, 4168573173, Spawn)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "voiceover/english/human_eco_good_tunarianalliance/ft/eco/good/human_eco_good_tunarianalliance_hail_gm_e274bc0f.mp3", "The mechanical beasts of the Ironforge Exchange belch forth black clouds to choke out life within the forests.", "", 1242578412, 4198131350, Spawn)
  24. elseif choice == 3 then
  25. PlayFlavor(NPC, "voiceover/english/human_eco_good_tunarianalliance/ft/eco/good/human_eco_good_tunarianalliance_hail_gm_c57df74b.mp3", "I fear that the Concordium is unable to control its disciples. If corrupted the sorcerers would surely bring harm to the woodlands and their creatures.", "", 63339104, 2681140716, Spawn)
  26. elseif choice == 4 then
  27. PlayFlavor(NPC, "voiceover/english/human_eco_good_tunarianalliance/ft/eco/good/human_eco_good_tunarianalliance_hail_gm_2c2d0ef6.mp3", "The Tunarian Alliance preserves our memories of the breathing trees and singing streams of Jaggedpine.", "", 1912930054, 3530428976, Spawn)
  28. elseif choice == 5 then
  29. PlayFlavor(NPC, "voiceover/english/human_eco_good_tunarianalliance/ft/eco/good/human_eco_good_tunarianalliance_hail_gm_24723d84.mp3", "While the land suffers and cries out for immediate protection the Celestial Watch is content to look to myths and superstitions for our salvation.", "", 1704735533, 1025969438, Spawn)
  30. else
  31. end
  32. end
  33. function LeaveRange(NPC, Spawn)
  34. end
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, 448.85, -20.75, 212.18, 2, 0)
  37. MovementLoopAddLocation(NPC, 448.56, -19.39, 195.8, 2, 0)
  38. MovementLoopAddLocation(NPC, 462.67, -20.87, 199.08, 2, 0)
  39. MovementLoopAddLocation(NPC, 495.29, -11.85, 144.64, 2, 0)
  40. MovementLoopAddLocation(NPC, 527.8, -10.55, 150.67, 2, 0)
  41. MovementLoopAddLocation(NPC, 560.54, -10.58, 151.39, 2, 0)
  42. MovementLoopAddLocation(NPC, 617.98, -12.21, 143.91, 2, 0)
  43. MovementLoopAddLocation(NPC, 619.51, -12.47, 156.58, 2, 0)
  44. MovementLoopAddLocation(NPC, 621.44, -16.61, 198.37, 2, 0)
  45. MovementLoopAddLocation(NPC, 681.93, -19.52, 181.63, 2, 0)
  46. MovementLoopAddLocation(NPC, 691.43, -19.52, 195.66, 2, 0)
  47. MovementLoopAddLocation(NPC, 701.87, -19.53, 192.37, 2, 0)
  48. MovementLoopAddLocation(NPC, 704.66, -19.51, 184.42, 2, 0)
  49. MovementLoopAddLocation(NPC, 706.97, -19.45, 177.25, 2, 0)
  50. MovementLoopAddLocation(NPC, 710.37, -20.39, 164.85, 2, 0)
  51. MovementLoopAddLocation(NPC, 710.58, -20.57, 163.84, 2, 0)
  52. MovementLoopAddLocation(NPC, 713.44, -19.43, 175.98, 2, 0)
  53. MovementLoopAddLocation(NPC, 718.92, -19.62, 185.98, 2, 0)
  54. MovementLoopAddLocation(NPC, 721.15, -19.58, 192.81, 2, 0)
  55. MovementLoopAddLocation(NPC, 711.39, -19.53, 194.73, 2, 0)
  56. MovementLoopAddLocation(NPC, 707.3, -19.54, 193.15, 2, 0)
  57. MovementLoopAddLocation(NPC, 698.38, -19.52, 196.11, 2, 0)
  58. MovementLoopAddLocation(NPC, 688.66, -19.52, 199.3, 2, 0)
  59. MovementLoopAddLocation(NPC, 686.66, -19.52, 214.73, 2, 0)
  60. MovementLoopAddLocation(NPC, 670.13, -19.57, 221.33, 2, 0)
  61. MovementLoopAddLocation(NPC, 649.1, -19.17, 227.69, 2, 0)
  62. MovementLoopAddLocation(NPC, 612.44, -18.36, 236.41, 2, 0)
  63. MovementLoopAddLocation(NPC, 582.25, -17.94, 241.81, 2, 0)
  64. MovementLoopAddLocation(NPC, 559.17, -17.69, 243.04, 2, 0)
  65. MovementLoopAddLocation(NPC, 483.4, -20.64, 240.69, 2, 0)
  66. MovementLoopAddLocation(NPC, 461.95, -21.96, 232.57, 2, 0)
  67. MovementLoopAddLocation(NPC, 449.24, -20.76, 213.14, 2, 0)
  68. MovementLoopAddLocation(NPC, 449.13, -19.36, 195.78, 2, 0)
  69. MovementLoopAddLocation(NPC, 449.24, -20.76, 213.14, 2, 0)
  70. MovementLoopAddLocation(NPC, 461.95, -21.96, 232.57, 2, 0)
  71. MovementLoopAddLocation(NPC, 483.4, -20.64, 240.69, 2, 0)
  72. MovementLoopAddLocation(NPC, 559.17, -17.69, 243.04, 2, 0)
  73. MovementLoopAddLocation(NPC, 582.25, -17.94, 241.81, 2, 0)
  74. MovementLoopAddLocation(NPC, 612.44, -18.36, 236.41, 2, 0)
  75. MovementLoopAddLocation(NPC, 649.1, -19.17, 227.69, 2, 0)
  76. MovementLoopAddLocation(NPC, 670.13, -19.57, 221.33, 2, 0)
  77. MovementLoopAddLocation(NPC, 686.66, -19.52, 214.73, 2, 0)
  78. MovementLoopAddLocation(NPC, 688.66, -19.52, 199.3, 2, 0)
  79. MovementLoopAddLocation(NPC, 698.38, -19.52, 196.11, 2, 0)
  80. MovementLoopAddLocation(NPC, 707.3, -19.54, 193.15, 2, 0)
  81. MovementLoopAddLocation(NPC, 711.39, -19.53, 194.73, 2, 0)
  82. MovementLoopAddLocation(NPC, 721.15, -19.58, 192.81, 2, 0)
  83. MovementLoopAddLocation(NPC, 718.92, -19.62, 185.98, 2, 0)
  84. MovementLoopAddLocation(NPC, 713.44, -19.43, 175.98, 2, 0)
  85. MovementLoopAddLocation(NPC, 710.58, -20.57, 163.84, 2, 0)
  86. MovementLoopAddLocation(NPC, 710.37, -20.39, 164.85, 2, 0)
  87. MovementLoopAddLocation(NPC, 706.97, -19.45, 177.25, 2, 0)
  88. MovementLoopAddLocation(NPC, 704.66, -19.51, 184.42, 2, 0)
  89. MovementLoopAddLocation(NPC, 701.87, -19.53, 192.37, 2, 0)
  90. MovementLoopAddLocation(NPC, 691.43, -19.52, 195.66, 2, 0)
  91. MovementLoopAddLocation(NPC, 681.93, -19.52, 181.63, 2, 0)
  92. MovementLoopAddLocation(NPC, 621.44, -16.61, 198.37, 2, 0)
  93. MovementLoopAddLocation(NPC, 619.51, -12.47, 156.58, 2, 0)
  94. MovementLoopAddLocation(NPC, 617.98, -12.21, 143.91, 2, 0)
  95. MovementLoopAddLocation(NPC, 560.54, -10.58, 151.39, 2, 0)
  96. MovementLoopAddLocation(NPC, 527.8, -10.55, 150.67, 2, 0)
  97. MovementLoopAddLocation(NPC, 495.29, -11.85, 144.64, 2, 0)
  98. MovementLoopAddLocation(NPC, 462.67, -20.87, 199.08, 2, 0)
  99. MovementLoopAddLocation(NPC, 448.56, -19.39, 195.8, 2, 0)
  100. MovementLoopAddLocation(NPC, 448.85, -20.75, 212.18, 2, 0)
  101. end