Oakhall.lua 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. --[[
  2. Script Name : Bilur.lua
  3. Script Purpose : Waypoint Path for Bilur.lua
  4. Script Author : Devn00b
  5. Script Date : 04/09/2020 01:10:38 AM
  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 Bilur = GetSpawn(NPC,2210071)
  17. if Bilur ~=nil then
  18. FaceTarget(Bilur,Spawn)
  19. PlayFlavor(Bilur, "", "", "attention", 0, 0, Spawn)
  20. end
  21. local Hanstock = GetSpawn(NPC,2210073)
  22. if Hanstock ~=nil then
  23. FaceTarget(Hanstock,Spawn)
  24. PlayFlavor(Hanstock, "", "", "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, 898.99, -23.89, -31.94, 2, 0)
  33. MovementLoopAddLocation(NPC, 902.63, -25.37, -24.9, 2, 0)
  34. MovementLoopAddLocation(NPC, 904.6, -25.37, -14.12, 2, 0)
  35. MovementLoopAddLocation(NPC, 905.39, -25.37, 1.6, 2, 0)
  36. MovementLoopAddLocation(NPC, 903.48, -25.37, 13.39, 2, 0)
  37. MovementLoopAddLocation(NPC, 898.34, -25.37, 31.45, 2, 0)
  38. MovementLoopAddLocation(NPC, 892.48, -25.37, 41.15, 2, 0)
  39. MovementLoopAddLocation(NPC, 889.1, -25.37, 43.75, 2, 0)
  40. MovementLoopAddLocation(NPC, 884.94, -25.37, 44.74, 2, 0)
  41. MovementLoopAddLocation(NPC, 870.3, -25.37, 42.83, 2, 0)
  42. MovementLoopAddLocation(NPC, 857.65, -25.37, 41.36, 2, 0)
  43. MovementLoopAddLocation(NPC, 853.62, -24.15, 41.2, 2, 0)
  44. MovementLoopAddLocation(NPC, 842.78, -23.1, 43.14, 2, 0)
  45. MovementLoopAddLocation(NPC, 833.99, -23.31, 44.71, 2, 0)
  46. MovementLoopAddLocation(NPC, 832.86, -23.31, 46.74, 2, 0)
  47. MovementLoopAddLocation(NPC, 819.62, -23.31, 75.37, 2, 0)
  48. MovementLoopAddLocation(NPC, 817.3, -23.31, 83.28, 2, 0)
  49. MovementLoopAddLocation(NPC, 815.88, -23.31, 100.06, 2, 0)
  50. MovementLoopAddLocation(NPC, 813.07, -23.31, 111.83, 2, 0)
  51. MovementLoopAddLocation(NPC, 813.3, -23.33, 119.04, 2, 0)
  52. MovementLoopAddLocation(NPC, 810.24, -23.31, 123.59, 2, 0)
  53. MovementLoopAddLocation(NPC, 806.41, -23.32, 121.1, 2, 0)
  54. MovementLoopAddLocation(NPC, 810.39, -23.31, 114.14, 2, 0)
  55. MovementLoopAddLocation(NPC, 815.65, -23.31, 103.24, 2, 0)
  56. MovementLoopAddLocation(NPC, 817.16, -23.31, 98.64, 2, 0)
  57. MovementLoopAddLocation(NPC, 817.24, -23.31, 83.23, 2, 0)
  58. MovementLoopAddLocation(NPC, 827.26, -23.31, 59.57, 2, 0)
  59. MovementLoopAddLocation(NPC, 835.69, -23.31, 42.84, 2, 0)
  60. MovementLoopAddLocation(NPC, 842.85, -23.11, 42.64, 2, 0)
  61. MovementLoopAddLocation(NPC, 857.22, -25.37, 40.55, 2, 0)
  62. MovementLoopAddLocation(NPC, 866.53, -25.37, 42.31, 2, 0)
  63. MovementLoopAddLocation(NPC, 884.82, -25.37, 44.99, 2, 0)
  64. MovementLoopAddLocation(NPC, 890.13, -25.37, 43.48, 2, 0)
  65. MovementLoopAddLocation(NPC, 897, -25.37, 33.43, 2, 0)
  66. MovementLoopAddLocation(NPC, 905.32, -25.37, 2.65, 2, 0)
  67. MovementLoopAddLocation(NPC, 906.92, -25.37, -10.6, 2, 0)
  68. MovementLoopAddLocation(NPC, 901.32, -25.34, -28.3, 2, 0)
  69. MovementLoopAddLocation(NPC, 896.96, -23.65, -42.62, 2, 0)
  70. MovementLoopAddLocation(NPC, 892.44, -25.36, -54.04, 2, 0)
  71. MovementLoopAddLocation(NPC, 887.08, -25.36, -59.81, 2, 0)
  72. MovementLoopAddLocation(NPC, 872.58, -25.36, -62.58, 2, 0)
  73. MovementLoopAddLocation(NPC, 863.27, -25.36, -63.39, 2, 0)
  74. MovementLoopAddLocation(NPC, 842.39, -25.36, -62.98, 2, 0)
  75. MovementLoopAddLocation(NPC, 827.44, -23.9, -62.05, 2, 0)
  76. MovementLoopAddLocation(NPC, 814.63, -21.06, -59.61, 2, 0)
  77. MovementLoopAddLocation(NPC, 813.79, -20.86, -60.7, 2, 0)
  78. MovementLoopAddLocation(NPC, 817.05, -21.55, -63.8, 2, 0)
  79. MovementLoopAddLocation(NPC, 822.62, -22.81, -62.65, 2, 0)
  80. MovementLoopAddLocation(NPC, 833.39, -24.99, -62.45, 2, 0)
  81. MovementLoopAddLocation(NPC, 852.73, -25.36, -63.01, 2, 0)
  82. MovementLoopAddLocation(NPC, 869.41, -25.36, -62.98, 2, 0)
  83. MovementLoopAddLocation(NPC, 884.39, -25.36, -59.64, 2, 0)
  84. MovementLoopAddLocation(NPC, 891.75, -25.36, -54.96, 2, 0)
  85. MovementLoopAddLocation(NPC, 897, -23.45, -40.35, 2, 0)
  86. end
  87. --[[
  88. function waypoints(NPC)
  89. MovementLoopAddLocation(NPC, 802.60, -20.97, 136.78, 2, 20)
  90. MovementLoopAddLocation(NPC, 817.09, -23.31, 82.45, 2, 0)
  91. MovementLoopAddLocation(NPC, 833.86, -23.31, 44.3, 2, 0)
  92. MovementLoopAddLocation(NPC, 858.41, -25.37, 40.72, 2, 0)
  93. MovementLoopAddLocation(NPC, 911.08, -25.39, 37.14, 2, 0)
  94. MovementLoopAddLocation(NPC, 901.46, -25.37, -20.28, 2, 0)
  95. MovementLoopAddLocation(NPC, 893.95, -25.34, -48.41, 2, 0)
  96. MovementLoopAddLocation(NPC, 862.91, -25.43, -73.88, 2, 30)
  97. MovementLoopAddLocation(NPC, 893.95, -25.34, -48.41, 2, 0)
  98. MovementLoopAddLocation(NPC, 901.46, -25.37, -20.28, 2, 0)
  99. MovementLoopAddLocation(NPC, 911.08, -25.39, 37.14, 2, 0)
  100. MovementLoopAddLocation(NPC, 858.41, -25.37, 40.72, 2, 0)
  101. MovementLoopAddLocation(NPC, 833.86, -23.31, 44.3, 2, 0)
  102. MovementLoopAddLocation(NPC, 817.09, -23.31, 82.45, 2, 0)
  103. MovementLoopAddLocation(NPC, 802.60, -20.97, 136.78, 2, 20)
  104. end
  105. ]]--