9
3

BlackfurlRoam.lua 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/BlackfurlRoam.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.02.27 12:02:49
  5. Script Purpose : roaming blackfurl npcs in Forest Ruins
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. if GetSpawnLocationID(NPC)==423700 then
  18. MovementLoopAddLocation(NPC, 1007.01, -19, -656.22, 2, 0)
  19. MovementLoopAddLocation(NPC, 1021.25, -19.01, -653.19, 2, 0)
  20. MovementLoopAddLocation(NPC, 1037.16, -19.01, -642.32, 2, 0)
  21. MovementLoopAddLocation(NPC, 1047.28, -18.55, -632.31, 2, 0)
  22. MovementLoopAddLocation(NPC, 1059.49, -19, -638.33, 2, 0)
  23. MovementLoopAddLocation(NPC, 1051.96, -19.01, -646.91, 2, 0)
  24. MovementLoopAddLocation(NPC, 1034.9, -18.9, -647.19, 2, 0)
  25. MovementLoopAddLocation(NPC, 1026.67, -19.02, -649.3, 2, 0)
  26. MovementLoopAddLocation(NPC, 1018.72, -19, -661.81, 2, 0)
  27. MovementLoopAddLocation(NPC, 1004.19, -18.97, -664.32, 2, 0)
  28. elseif GetSpawnLocationID(NPC)==423724 then
  29. MovementLoopAddLocation(NPC, 1034.15, -18.95, -646.41, 2, 0)
  30. MovementLoopAddLocation(NPC, 1042.21, -19.01, -650.2, 2, 0)
  31. MovementLoopAddLocation(NPC, 1054.71, -10.25, -671.63, 2, 0)
  32. MovementLoopAddLocation(NPC, 1066.26, -10.25, -692.56, 2, 0)
  33. MovementLoopAddLocation(NPC, 1090.33, -10.25, -683.35, 2, 0)
  34. MovementLoopAddLocation(NPC, 1092.43, -10.25, -678.41, 2, 0)
  35. MovementLoopAddLocation(NPC, 1084.4, -10.25, -662.09, 2, 0)
  36. MovementLoopAddLocation(NPC, 1057.18, -10.25, -674.16, 2, 0)
  37. MovementLoopAddLocation(NPC, 1029.43, -10.25, -689.97, 2, 0)
  38. MovementLoopAddLocation(NPC, 1029.99, -10.25, -703.85, 2, 0)
  39. MovementLoopAddLocation(NPC, 1033.64, -10.25, -697.44, 2, 0)
  40. MovementLoopAddLocation(NPC, 1033.71, -10.25, -690.65, 2, 0)
  41. MovementLoopAddLocation(NPC, 1056.91, -10.25, -680.58, 2, 0)
  42. MovementLoopAddLocation(NPC, 1047.65, -17.07, -657.43, 2, 0)
  43. MovementLoopAddLocation(NPC, 1033.3, -18.93, -647.57, 2, 0)
  44. MovementLoopAddLocation(NPC, 1027.5, -19.02, -647.85, 2, 0)
  45. MovementLoopAddLocation(NPC, 1029.83, -19, -661.88, 2, 0)
  46. MovementLoopAddLocation(NPC, 1025.92, -19, -663.42, 2, 0)
  47. MovementLoopAddLocation(NPC, 1027.17, -19.01, -661.32, 2, 0)
  48. MovementLoopAddLocation(NPC, 1030.92, -19.01, -655.46, 2, 0)
  49. elseif GetSpawnLocationID(NPC)==423845 then
  50. MovementLoopAddLocation(NPC, 1009.77, -19, -660.23, 2, 0)
  51. MovementLoopAddLocation(NPC, 1023.85, -10.25, -691.87, 2, 0)
  52. MovementLoopAddLocation(NPC, 1021.66, -10.24, -698.6, 2, 0)
  53. MovementLoopAddLocation(NPC, 1053.16, -10.25, -679.63, 2, 0)
  54. MovementLoopAddLocation(NPC, 1060.81, -10.25, -698.85, 2, 0)
  55. MovementLoopAddLocation(NPC, 1053.88, -10.25, -710.22, 2, 0)
  56. MovementLoopAddLocation(NPC, 1040.28, -10.28, -708.39, 2, 0)
  57. MovementLoopAddLocation(NPC, 1028.44, -10.25, -695.62, 2, 0)
  58. MovementLoopAddLocation(NPC, 1003.94, -19, -651.56, 2, 0)
  59. else if GetSpawnLocationID(NPC)==423873 then
  60. MovementLoopAddLocation(NPC, 1052.64, -10.25, -673.64, 2, 0)
  61. MovementLoopAddLocation(NPC, 1061.87, -10.25, -669.74, 2, 0)
  62. MovementLoopAddLocation(NPC, 1081.62, -10.25, -660.69, 2, 0)
  63. MovementLoopAddLocation(NPC, 1083.14, -10.25, -663.31, 2, 0)
  64. MovementLoopAddLocation(NPC, 1072.52, -10.25, -665.4, 2, 0)
  65. MovementLoopAddLocation(NPC, 1042.76, -10.25, -683.97, 2, 0)
  66. MovementLoopAddLocation(NPC, 1028.47, -10.25, -688.37, 2, 0)
  67. MovementLoopAddLocation(NPC, 1014.19, -19, -665.39, 2, 0)
  68. MovementLoopAddLocation(NPC, 1028.2, -10.25, -692.94, 2, 0)
  69. MovementLoopAddLocation(NPC, 1053.2, -10.25, -682.33, 2, 0)
  70. elseif GetSpawnLocationID(NPC)==423914 then
  71. MovementLoopAddLocation(NPC, 1088.47, -10.25, -740.25, 2, 0)
  72. MovementLoopAddLocation(NPC, 1087.22, -6.78, -750.7, 2, 0)
  73. MovementLoopAddLocation(NPC, 1082.43, -4.3, -757.92, 2, 0)
  74. MovementLoopAddLocation(NPC, 1076.1, -4.31, -764.16, 2, 0)
  75. MovementLoopAddLocation(NPC, 1060.63, -7.81, -761.64, 2, 0)
  76. MovementLoopAddLocation(NPC, 1051.87, -10.25, -756.02, 2, 0)
  77. MovementLoopAddLocation(NPC, 1035.87, -10.25, -766.81, 2, 0)
  78. MovementLoopAddLocation(NPC, 1035.2, -10.25, -769.2, 2, 0)
  79. MovementLoopAddLocation(NPC, 1044.42, -10.25, -766.64, 2, 0)
  80. MovementLoopAddLocation(NPC, 1055.52, -10.25, -771.04, 2, 0)
  81. MovementLoopAddLocation(NPC, 1061.71, -10.25, -789.18, 2, 0)
  82. MovementLoopAddLocation(NPC, 1055.6, -10.25, -773.24, 2, 0)
  83. MovementLoopAddLocation(NPC, 1048.88, -10.25, -762.74, 2, 0)
  84. MovementLoopAddLocation(NPC, 1056.74, -10.25, -749.31, 2, 0)
  85. MovementLoopAddLocation(NPC, 1067.93, -10.25, -756.21, 2, 0)
  86. MovementLoopAddLocation(NPC, 1076.74, -10.25, -753.96, 2, 0)
  87. MovementLoopAddLocation(NPC, 1081.52, -10.25, -739.86, 2, 0)
  88. MovementLoopAddLocation(NPC, 1092.52, -10.25, -733.38, 2, 0)
  89. MovementLoopAddLocation(NPC, 1096.72, -10.25, -741.8, 2, 0)
  90. MovementLoopAddLocation(NPC, 1090.46, -10.25, -738.39, 2, 0)
  91. elseif GetSpawnLocationID(NPC)==133772853 then
  92. MovementLoopAddLocation(NPC, 1048.08, -10.25, -754.25, 2, 0)
  93. MovementLoopAddLocation(NPC, 1055.14, -10.25, -746.44, 2, 0)
  94. MovementLoopAddLocation(NPC, 1062.2, -10.25, -732.9, 2, 0)
  95. MovementLoopAddLocation(NPC, 1054.33, -10.25, -713.42, 2, 0)
  96. MovementLoopAddLocation(NPC, 1062.46, -10.25, -701.68, 2, 0)
  97. MovementLoopAddLocation(NPC, 1059.10, -10.25, -699.37, 2, 0)
  98. MovementLoopAddLocation(NPC, 1060.84, -10.25, -683.03, 2, 0)
  99. MovementLoopAddLocation(NPC, 1058.09, -10.25, -693.17, 2, 0)
  100. MovementLoopAddLocation(NPC, 1054.35, -10.25, -708.27, 2, 0)
  101. MovementLoopAddLocation(NPC, 1062.99, -10.25, -732.37, 2, 0)
  102. MovementLoopAddLocation(NPC, 1069.88, -10.25, -730.86, 2, 0)
  103. MovementLoopAddLocation(NPC, 1078.19, -10.25, -735.35, 2, 0)
  104. MovementLoopAddLocation(NPC, 1080.33, -10.25, -749.76, 2, 0)
  105. MovementLoopAddLocation(NPC, 1074.08, -10.25, -756.78, 2, 0)
  106. MovementLoopAddLocation(NPC, 1062.37, -10.25, -755.42, 2, 0)
  107. MovementLoopAddLocation(NPC, 1057.24, -10.25, -751.94, 2, 0)
  108. MovementLoopAddLocation(NPC, 1051.2, -10.25, -760.96, 2, 0)
  109. end
  110. end
  111. end