anorcrunner2.lua 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/anorcrunner2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.25 09:01:39
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. Bloodskull(NPC)
  12. OrcArmorCommon(NPC)
  13. AddTimer(NPC, 10000, "waypoints")
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, 101.67, -47.93, 602.12, 6, 0)
  23. MovementLoopAddLocation(NPC, -0.31, -46.91, 597.39, 6, 0)
  24. MovementLoopAddLocation(NPC, -52.47, -42.49, 613.96, 6, 0)
  25. MovementLoopAddLocation(NPC, -93.28, -42.43, 605.42, 6, 0)
  26. MovementLoopAddLocation(NPC, -148.81, -47.48, 586.55, 6, 0)
  27. MovementLoopAddLocation(NPC, -178.84, -47.06, 570.85, 6, 0)
  28. MovementLoopAddLocation(NPC, -211.85, -42.44, 553.6, 6, 0)
  29. MovementLoopAddLocation(NPC, -228.57, -42.15, 550.63, 6, 0)
  30. MovementLoopAddLocation(NPC, -246.79, -42.02, 554.9, 6, 0)
  31. MovementLoopAddLocation(NPC, -363.77, -47.91, 612.02, 6, 0)
  32. MovementLoopAddLocation(NPC, -446.2, -47.86, 652.26, 6, 0)
  33. MovementLoopAddLocation(NPC, -483.53, -46.92, 646.97, 6, 0)
  34. MovementLoopAddLocation(NPC, -509.37, -44.85, 644.05, 6, 0)
  35. MovementLoopAddLocation(NPC, -553.77, -44.54, 648.85, 6, 0)
  36. MovementLoopAddLocation(NPC, -603.35, -47.12, 641.11, 6, 0)
  37. MovementLoopAddLocation(NPC, -650.94, -47.71, 636.31, 6, 0)
  38. MovementLoopAddLocation(NPC, -745.81, -47.67, 629.12, 6, 0)
  39. MovementLoopAddLocation(NPC, -777.57, -47.46, 629.38, 6, 0)
  40. MovementLoopAddLocation(NPC, -777.57, -47.46, 629.38, 6, 0)
  41. MovementLoopAddLocation(NPC, -821.98, -47.93, 618.54, 6, 0)
  42. MovementLoopAddLocation(NPC, -849.8, -47.67, 619.53, 6, 0)
  43. MovementLoopAddLocation(NPC, -867.53, -47.9, 602.42, 6, 0)
  44. MovementLoopAddLocation(NPC, -872.48, -47.55, 572.33, 6, 0)
  45. MovementLoopAddLocation(NPC, -860.01, -47.78, 553.37, 6, 0)
  46. MovementLoopAddLocation(NPC, -818.55, -48.04, 532.58, 6, 0)
  47. MovementLoopAddLocation(NPC, -783.42, -48.04, 520.43, 6, 0)
  48. MovementLoopAddLocation(NPC, -740.88, -48.04, 485.52, 6, 0)
  49. MovementLoopAddLocation(NPC, -693.96, -48.04, 437.1, 6, 0)
  50. MovementLoopAddLocation(NPC, -667.81, -47.38, 407.91, 6, 0)
  51. MovementLoopAddLocation(NPC, -655.66, -45.43, 394.36, 6, 0)
  52. MovementLoopAddLocation(NPC, -644.96, -48.04, 382.43, 6, 0)
  53. MovementLoopAddLocation(NPC, -630.81, -47.07, 366.63, 6, 0)
  54. MovementLoopAddLocation(NPC, -580.83, -47.12, 349.93, 6, 0)
  55. MovementLoopAddLocation(NPC, -533.13, -47.15, 313.35, 6, 0)
  56. MovementLoopAddLocation(NPC, -486.72, -47.97, 291.72, 6, 0)
  57. MovementLoopAddLocation(NPC, -445.12, -46.98, 289.5, 6, 0)
  58. MovementLoopAddLocation(NPC, -412.88, -46.54, 300.93, 6, 0)
  59. MovementLoopAddLocation(NPC, -391.13, -45.82, 316.24, 6, 0)
  60. MovementLoopAddLocation(NPC, -366.75, -45.15, 321.99, 6, 0)
  61. MovementLoopAddLocation(NPC, -328.59, -44.13, 312.57, 6, 0)
  62. MovementLoopAddLocation(NPC, -311.78, -42.67, 308.46, 6, 0)
  63. MovementLoopAddLocation(NPC, -283.51, -46.94, 301.56, 6, 0)
  64. MovementLoopAddLocation(NPC, -221.67, -48.04, 290.47, 6, 0)
  65. MovementLoopAddLocation(NPC, -180.81, -46.96, 339.08, 6, 0)
  66. MovementLoopAddLocation(NPC, -168.62, -46.76, 357.86, 6, 0)
  67. MovementLoopAddLocation(NPC, -123.7, -48.01, 376.37, 6, 0)
  68. MovementLoopAddLocation(NPC, -119.4, -46.52, 377.9, 6, 0)
  69. MovementLoopAddLocation(NPC, -100.91, -48.02, 384.45, 6, 0)
  70. MovementLoopAddLocation(NPC, -78, -45.03, 392.58, 6, 0)
  71. MovementLoopAddLocation(NPC, -38.41, -47.4, 395.46, 6, 0)
  72. MovementLoopAddLocation(NPC, 38.47, -47.8, 388.65, 6, 0)
  73. MovementLoopAddLocation(NPC, 103.13, -48.04, 382.51, 6, 0)
  74. MovementLoopAddLocation(NPC, 191.14, -47.81, 374.14, 6, 0)
  75. MovementLoopAddLocation(NPC, 209.48, -47.97, 378.83, 6, 0)
  76. MovementLoopAddLocation(NPC, 260.84, -47.15, 515.66, 6, 0)
  77. MovementLoopAddLocation(NPC, 209.48, -47.97, 378.83, 6, 0)
  78. MovementLoopAddLocation(NPC, 191.14, -47.81, 374.14, 6, 0)
  79. MovementLoopAddLocation(NPC, 103.13, -48.04, 382.51, 6, 0)
  80. MovementLoopAddLocation(NPC, 38.47, -47.8, 388.65, 6, 0)
  81. MovementLoopAddLocation(NPC, -38.41, -47.4, 395.46, 6, 0)
  82. MovementLoopAddLocation(NPC, -78, -45.03, 392.58, 6, 0)
  83. MovementLoopAddLocation(NPC, -100.91, -48.02, 384.45, 6, 0)
  84. MovementLoopAddLocation(NPC, -119.4, -46.52, 377.9, 6, 0)
  85. MovementLoopAddLocation(NPC, -123.7, -48.01, 376.37, 6, 0)
  86. MovementLoopAddLocation(NPC, -168.62, -46.76, 357.86, 6, 0)
  87. MovementLoopAddLocation(NPC, -180.81, -46.96, 339.08, 6, 0)
  88. MovementLoopAddLocation(NPC, -221.67, -48.04, 290.47, 6, 0)
  89. MovementLoopAddLocation(NPC, -283.51, -46.94, 301.56, 6, 0)
  90. MovementLoopAddLocation(NPC, -311.78, -42.67, 308.46, 6, 0)
  91. MovementLoopAddLocation(NPC, -328.59, -44.13, 312.57, 6, 0)
  92. MovementLoopAddLocation(NPC, -366.75, -45.15, 321.99, 6, 0)
  93. MovementLoopAddLocation(NPC, -391.13, -45.82, 316.24, 6, 0)
  94. MovementLoopAddLocation(NPC, -412.88, -46.54, 300.93, 6, 0)
  95. MovementLoopAddLocation(NPC, -445.12, -46.98, 289.5, 6, 0)
  96. MovementLoopAddLocation(NPC, -486.72, -47.97, 291.72, 6, 0)
  97. MovementLoopAddLocation(NPC, -533.13, -47.15, 313.35, 6, 0)
  98. MovementLoopAddLocation(NPC, -580.83, -47.12, 349.93, 6, 0)
  99. MovementLoopAddLocation(NPC, -630.81, -47.07, 366.63, 6, 0)
  100. MovementLoopAddLocation(NPC, -644.96, -48.04, 382.43, 6, 0)
  101. MovementLoopAddLocation(NPC, -655.66, -45.43, 394.36, 6, 0)
  102. MovementLoopAddLocation(NPC, -667.81, -47.38, 407.91, 6, 0)
  103. MovementLoopAddLocation(NPC, -693.96, -48.04, 437.1, 6, 0)
  104. MovementLoopAddLocation(NPC, -740.88, -48.04, 485.52, 6, 0)
  105. MovementLoopAddLocation(NPC, -783.42, -48.04, 520.43, 6, 0)
  106. MovementLoopAddLocation(NPC, -818.55, -48.04, 532.58, 6, 0)
  107. MovementLoopAddLocation(NPC, -860.01, -47.78, 553.37, 6, 0)
  108. MovementLoopAddLocation(NPC, -872.48, -47.55, 572.33, 6, 0)
  109. MovementLoopAddLocation(NPC, -867.53, -47.9, 602.42, 6, 0)
  110. MovementLoopAddLocation(NPC, -849.8, -47.67, 619.53, 6, 0)
  111. MovementLoopAddLocation(NPC, -821.98, -47.93, 618.54, 6, 0)
  112. MovementLoopAddLocation(NPC, -777.57, -47.46, 629.38, 6, 0)
  113. MovementLoopAddLocation(NPC, -777.57, -47.46, 629.38, 6, 0)
  114. MovementLoopAddLocation(NPC, -745.81, -47.67, 629.12, 6, 0)
  115. MovementLoopAddLocation(NPC, -650.94, -47.71, 636.31, 6, 0)
  116. MovementLoopAddLocation(NPC, -603.35, -47.12, 641.11, 6, 0)
  117. MovementLoopAddLocation(NPC, -553.77, -44.54, 648.85, 6, 0)
  118. MovementLoopAddLocation(NPC, -509.37, -44.85, 644.05, 6, 0)
  119. MovementLoopAddLocation(NPC, -483.53, -46.92, 646.97, 6, 0)
  120. MovementLoopAddLocation(NPC, -446.2, -47.86, 652.26, 6, 0)
  121. MovementLoopAddLocation(NPC, -363.77, -47.91, 612.02, 6, 0)
  122. MovementLoopAddLocation(NPC, -246.79, -42.02, 554.9, 6, 0)
  123. MovementLoopAddLocation(NPC, -228.57, -42.15, 550.63, 6, 0)
  124. MovementLoopAddLocation(NPC, -211.85, -42.44, 553.6, 6, 0)
  125. MovementLoopAddLocation(NPC, -178.84, -47.06, 570.85, 6, 0)
  126. MovementLoopAddLocation(NPC, -148.81, -47.48, 586.55, 6, 0)
  127. MovementLoopAddLocation(NPC, -93.28, -42.43, 605.42, 6, 0)
  128. MovementLoopAddLocation(NPC, -52.47, -42.49, 613.96, 6, 0)
  129. MovementLoopAddLocation(NPC, -0.31, -46.91, 597.39, 6, 0)
  130. MovementLoopAddLocation(NPC, 101.67, -47.93, 602.12, 6, 0)
  131. end