Groban.lua 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. --[[
  2. Script Name : Highgold.lua
  3. Script Purpose : Waypoint Path for Highgold.lua
  4. Script Author : Auto Generated
  5. Script Date : 04/08/2020 08:13:18 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. if GetFactionAmount(Spawn,11)<0 then
  14. else
  15. FaceTarget(NPC, Spawn)
  16. local Warland = GetSpawn(NPC,2210266)
  17. if Warland ~=nil then
  18. FaceTarget(Warland,Spawn)
  19. PlayFlavor(Warland, "", "", "attention", 0, 0, Spawn)
  20. end
  21. local Highgold = GetSpawn(NPC,2210087)
  22. if Highgold ~=nil then
  23. FaceTarget(Highgold,Spawn)
  24. PlayFlavor(Highgold, "", "", "attention", 0, 0, Spawn)
  25. end
  26. end
  27. end
  28. function respawn(NPC)
  29. spawn(NPC)
  30. end
  31. function waypoints(NPC)
  32. MovementLoopAddLocation(NPC, 794.25, -21, -60.3, 2, 0)
  33. MovementLoopAddLocation(NPC, 772.27, -21.61, -59.66, 2, 0)
  34. MovementLoopAddLocation(NPC, 760.59, -21.7, -58.92, 2, 0)
  35. MovementLoopAddLocation(NPC, 739.71, -21.37, -57.96, 2, 0)
  36. MovementLoopAddLocation(NPC, 727.83, -21.35, -59.01, 2, 0)
  37. MovementLoopAddLocation(NPC, 713.7, -20.97, -78.42, 2, 0)
  38. MovementLoopAddLocation(NPC, 691.67, -21.46, -108.83, 2, 0)
  39. MovementLoopAddLocation(NPC, 687.81, -21.1, -115.14, 2, 0)
  40. MovementLoopAddLocation(NPC, 681.96, -21.03, -115.62, 2, 0)
  41. MovementLoopAddLocation(NPC, 679.39, -21.14, -112.78, 2, 0)
  42. MovementLoopAddLocation(NPC, 689.87, -21.54, -99.94, 2, 0)
  43. MovementLoopAddLocation(NPC, 705.26, -21.11, -81.33, 2, 0)
  44. MovementLoopAddLocation(NPC, 717.69, -21.08, -66.29, 2, 0)
  45. MovementLoopAddLocation(NPC, 716.74, -20.84, -25.46, 2, 0)
  46. MovementLoopAddLocation(NPC, 716.53, -20.65, -16.01, 2, 0)
  47. MovementLoopAddLocation(NPC, 709.19, -20.64, -13.58, 2, 0)
  48. MovementLoopAddLocation(NPC, 701.63, -20.64, -13.85, 2, 0)
  49. MovementLoopAddLocation(NPC, 698.89, -20.64, -17.24, 2, 0)
  50. MovementLoopAddLocation(NPC, 699.08, -20.64, -21.61, 2, 0)
  51. MovementLoopAddLocation(NPC, 699.75, -20.64, -23.81, 2, 0)
  52. MovementLoopAddLocation(NPC, 755.76, -20.89, -21.87, 2, 0)
  53. MovementLoopAddLocation(NPC, 760.66, -20.72, -25, 2, 0)
  54. MovementLoopAddLocation(NPC, 756.84, -21.5, -47.79, 2, 0)
  55. MovementLoopAddLocation(NPC, 715.26, -21.4, -50.18, 2, 0)
  56. MovementLoopAddLocation(NPC, 714.68, -21.06, -64.63, 2, 0)
  57. MovementLoopAddLocation(NPC, 754.6, -21.56, -59.25, 2, 0)
  58. MovementLoopAddLocation(NPC, 789.89, -21.15, -55.73, 2, 0)
  59. MovementLoopAddLocation(NPC, 796.71, -20.97, -56.55, 2, 0)
  60. MovementLoopAddLocation(NPC, 789.89, -21.15, -55.73, 2, 0)
  61. MovementLoopAddLocation(NPC, 754.6, -21.56, -59.25, 2, 0)
  62. MovementLoopAddLocation(NPC, 714.68, -21.06, -64.63, 2, 0)
  63. MovementLoopAddLocation(NPC, 715.26, -21.4, -50.18, 2, 0)
  64. MovementLoopAddLocation(NPC, 756.84, -21.5, -47.79, 2, 0)
  65. MovementLoopAddLocation(NPC, 760.66, -20.72, -25, 2, 0)
  66. MovementLoopAddLocation(NPC, 755.76, -20.89, -21.87, 2, 0)
  67. MovementLoopAddLocation(NPC, 699.75, -20.64, -23.81, 2, 0)
  68. MovementLoopAddLocation(NPC, 699.08, -20.64, -21.61, 2, 0)
  69. MovementLoopAddLocation(NPC, 698.89, -20.64, -17.24, 2, 0)
  70. MovementLoopAddLocation(NPC, 701.63, -20.64, -13.85, 2, 0)
  71. MovementLoopAddLocation(NPC, 709.19, -20.64, -13.58, 2, 0)
  72. MovementLoopAddLocation(NPC, 716.53, -20.65, -16.01, 2, 0)
  73. MovementLoopAddLocation(NPC, 716.74, -20.84, -25.46, 2, 0)
  74. MovementLoopAddLocation(NPC, 717.69, -21.08, -66.29, 2, 0)
  75. MovementLoopAddLocation(NPC, 705.26, -21.11, -81.33, 2, 0)
  76. MovementLoopAddLocation(NPC, 689.87, -21.54, -99.94, 2, 0)
  77. MovementLoopAddLocation(NPC, 679.39, -21.14, -112.78, 2, 0)
  78. MovementLoopAddLocation(NPC, 681.96, -21.03, -115.62, 2, 0)
  79. MovementLoopAddLocation(NPC, 687.81, -21.1, -115.14, 2, 0)
  80. MovementLoopAddLocation(NPC, 691.67, -21.46, -108.83, 2, 0)
  81. MovementLoopAddLocation(NPC, 713.7, -20.97, -78.42, 2, 0)
  82. MovementLoopAddLocation(NPC, 727.83, -21.35, -59.01, 2, 0)
  83. MovementLoopAddLocation(NPC, 739.71, -21.37, -57.96, 2, 0)
  84. MovementLoopAddLocation(NPC, 760.59, -21.7, -58.92, 2, 0)
  85. MovementLoopAddLocation(NPC, 772.27, -21.61, -59.66, 2, 0)
  86. MovementLoopAddLocation(NPC, 794.25, -21, -60.3, 2, 0)
  87. end
  88. --[[ Old path by Devnoob
  89. function waypoints(NPC)
  90. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  91. MovementLoopAddLocation(NPC, 710.6, -20.89, -66.2, 2, 2)
  92. MovementLoopAddLocation(NPC, 700.37, -20.64, -15.85, 2, 5)
  93. MovementLoopAddLocation(NPC, 741.96, -21.2, -14.13, 2, 8)
  94. MovementLoopAddLocation(NPC, 757.77, -20.81, 7.22, 2, 1)
  95. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  96. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  97. MovementLoopAddLocation(NPC, 795.39, -21, -58.93, 2, 12)
  98. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  99. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  100. MovementLoopAddLocation(NPC, 676.46, -20.65, -124.59, 2, 17)
  101. MovementLoopAddLocation(NPC, 715.91, -21.27, -61.53, 2, 0)
  102. MovementLoopAddLocation(NPC, 745.01, -21.46, -58.01, 2, 0)
  103. MovementLoopAddLocation(NPC, 795.39, -21, -58.93, 2, 5)
  104. MovementLoopAddLocation(NPC, 779.17, -21.13, -45.52, 2, 0)
  105. MovementLoopAddLocation(NPC, 762.62, -21.48, -45.59, 2, 0)
  106. MovementLoopAddLocation(NPC, 757.77, -20.81, 7.22, 2, 0)
  107. MovementLoopAddLocation(NPC, 741.96, -21.2, -14.13, 2, 0)
  108. MovementLoopAddLocation(NPC, 700.37, -20.64, -15.85, 2, 0)
  109. MovementLoopAddLocation(NPC, 710.6, -20.89, -66.2, 2, 0)
  110. MovementLoopAddLocation(NPC, 679.82, -21.04, -115.09, 2, 0)
  111. end
  112. ]]--