9
3

aMilitiapatroller_A.lua 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/aMilitiapatroller_A.lua
  3. Script Purpose : Waypoint Path for a Militia Patroller A.lua
  4. Script Author : Cynnar
  5. Script Date : 10/07/2018 11:15:11 PM
  6. Script Notes : This is for the front guard in Outpost on the left hand side
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC, 2000, "waypoints")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -16.14, -5.15, 184, 2, 0)
  18. MovementLoopAddLocation(NPC, -19.32, -5.14, 181.23, 2, 0)
  19. MovementLoopAddLocation(NPC, -23.59, -5.12, 175.47, 2, 0)
  20. MovementLoopAddLocation(NPC, -26.22, -5.11, 173.02, 2, 0)
  21. MovementLoopAddLocation(NPC, -29.26, -5.1, 171.54, 2, 0)
  22. MovementLoopAddLocation(NPC, -31.59, -5.1, 170.96, 2, 0)
  23. MovementLoopAddLocation(NPC, -34.76, -5.08, 168.7, 2, 0)
  24. MovementLoopAddLocation(NPC, -36.53, -5.08, 166.25, 2, 0)
  25. MovementLoopAddLocation(NPC, -37.67, -5.07, 164.93, 2, 0)
  26. MovementLoopAddLocation(NPC, -44.05, -5.05, 161.94, 2, 0)
  27. MovementLoopAddLocation(NPC, -46.3, -5.04, 159.93, 2, 0)
  28. MovementLoopAddLocation(NPC, -47.42, -5.03, 158.42, 2, 0)
  29. MovementLoopAddLocation(NPC, -48.41, -5.03, 156.66, 2, 0)
  30. MovementLoopAddLocation(NPC, -49.15, -5.02, 151.3, 2, 0)
  31. MovementLoopAddLocation(NPC, -50.41, -5.02, 148.23, 2, 0)
  32. MovementLoopAddLocation(NPC, -51.99, -5.01, 144.53, 2, 0)
  33. MovementLoopAddLocation(NPC, -54.06, -5, 140.62, 2, 0)
  34. MovementLoopAddLocation(NPC, -56.25, -4.99, 137.41, 2, 0)
  35. MovementLoopAddLocation(NPC, -57.17, -4.99, 134.97, 2, 0)
  36. MovementLoopAddLocation(NPC, -57.43, -4.99, 131.77, 2, 0)
  37. MovementLoopAddLocation(NPC, -57.25, -4.99, 128.55, 2, 0)
  38. MovementLoopAddLocation(NPC, -55.58, -4.9, 122.23, 2, 0)
  39. MovementLoopAddLocation(NPC, -54.43, -5.06, 117, 2, 0)
  40. MovementLoopAddLocation(NPC, -54.48, -5.45, 113.06, 2, 0)
  41. MovementLoopAddLocation(NPC, -53.01, -5.42, 110.88, 2, 0)
  42. MovementLoopAddLocation(NPC, -49.91, -5.4, 109.19, 2, 0)
  43. MovementLoopAddLocation(NPC, -46.51, -5.15, 107.84, 2, 0)
  44. MovementLoopAddLocation(NPC, -40.91, -5.03, 105.2, 2, 0)
  45. MovementLoopAddLocation(NPC, -37.76, -5.06, 103.81, 2, 0)
  46. MovementLoopAddLocation(NPC, -35.53, -5.07, 102.16, 2, 0)
  47. MovementLoopAddLocation(NPC, -37.76, -5.06, 103.81, 2, 0)
  48. MovementLoopAddLocation(NPC, -40.91, -5.03, 105.2, 2, 0)
  49. MovementLoopAddLocation(NPC, -46.51, -5.15, 107.84, 2, 0)
  50. MovementLoopAddLocation(NPC, -49.91, -5.4, 109.19, 2, 0)
  51. MovementLoopAddLocation(NPC, -53.01, -5.42, 110.88, 2, 0)
  52. MovementLoopAddLocation(NPC, -54.48, -5.45, 113.06, 2, 0)
  53. MovementLoopAddLocation(NPC, -54.43, -5.06, 117, 2, 0)
  54. MovementLoopAddLocation(NPC, -55.58, -4.9, 122.23, 2, 0)
  55. MovementLoopAddLocation(NPC, -57.25, -4.99, 128.55, 2, 0)
  56. MovementLoopAddLocation(NPC, -57.43, -4.99, 131.77, 2, 0)
  57. MovementLoopAddLocation(NPC, -57.17, -4.99, 134.97, 2, 0)
  58. MovementLoopAddLocation(NPC, -56.25, -4.99, 137.41, 2, 0)
  59. MovementLoopAddLocation(NPC, -54.06, -5, 140.62, 2, 0)
  60. MovementLoopAddLocation(NPC, -51.99, -5.01, 144.53, 2, 0)
  61. MovementLoopAddLocation(NPC, -50.41, -5.02, 148.23, 2, 0)
  62. MovementLoopAddLocation(NPC, -49.15, -5.02, 151.3, 2, 0)
  63. MovementLoopAddLocation(NPC, -48.41, -5.03, 156.66, 2, 0)
  64. MovementLoopAddLocation(NPC, -47.42, -5.03, 158.42, 2, 0)
  65. MovementLoopAddLocation(NPC, -46.3, -5.04, 159.93, 2, 0)
  66. MovementLoopAddLocation(NPC, -44.05, -5.05, 161.94, 2, 0)
  67. MovementLoopAddLocation(NPC, -37.67, -5.07, 164.93, 2, 0)
  68. MovementLoopAddLocation(NPC, -36.53, -5.08, 166.25, 2, 0)
  69. MovementLoopAddLocation(NPC, -34.76, -5.08, 168.7, 2, 0)
  70. MovementLoopAddLocation(NPC, -31.59, -5.1, 170.96, 2, 0)
  71. MovementLoopAddLocation(NPC, -29.26, -5.1, 171.54, 2, 0)
  72. MovementLoopAddLocation(NPC, -26.22, -5.11, 173.02, 2, 0)
  73. MovementLoopAddLocation(NPC, -23.59, -5.12, 175.47, 2, 0)
  74. MovementLoopAddLocation(NPC, -19.32, -5.14, 181.23, 2, 0)
  75. MovementLoopAddLocation(NPC, -16.14, -5.15, 184, 2, 0)
  76. MovementLoopAddLocation(NPC, -9.87, -5.19, 185.99, 2, 0)
  77. MovementLoopAddLocation(NPC, -3.74, -5.15, 180.58, 2, 0)
  78. MovementLoopAddLocation(NPC, 5.11, -5.12, 174.85, 2, 0)
  79. MovementLoopAddLocation(NPC, 13.03, -5.13, 167.98, 2, 0)
  80. MovementLoopAddLocation(NPC, 17.86, -5.29, 165.81, 2, 0)
  81. MovementLoopAddLocation(NPC, 22.16, -5.31, 164.42, 2, 0)
  82. MovementLoopAddLocation(NPC, 29.25, -6.04, 166.37, 2, 0)
  83. MovementLoopAddLocation(NPC, 40.97, -4.31, 166.69, 2, 0)
  84. MovementLoopAddLocation(NPC, 47.82, -3.38, 167.24, 2, 0)
  85. MovementLoopAddLocation(NPC, 40.97, -4.31, 166.69, 2, 0)
  86. MovementLoopAddLocation(NPC, 29.25, -6.04, 166.37, 2, 0)
  87. MovementLoopAddLocation(NPC, 22.16, -5.31, 164.42, 2, 0)
  88. MovementLoopAddLocation(NPC, 17.86, -5.29, 165.81, 2, 0)
  89. MovementLoopAddLocation(NPC, 13.03, -5.13, 167.98, 2, 0)
  90. MovementLoopAddLocation(NPC, 5.11, -5.12, 174.85, 2, 0)
  91. MovementLoopAddLocation(NPC, -3.74, -5.15, 180.58, 2, 0)
  92. MovementLoopAddLocation(NPC, -9.87, -5.19, 185.99, 2, 0)
  93. MovementLoopAddLocation(NPC, -12.66, -5.1, 190.72, 2, 0)
  94. MovementLoopAddLocation(NPC, -15.13, -5.09, 196.95, 2, 0)
  95. MovementLoopAddLocation(NPC, -15.46, -5.17, 199.64, 2, 0)
  96. MovementLoopAddLocation(NPC, -17.5, -5.15, 202.81, 2, 0)
  97. MovementLoopAddLocation(NPC, -20.38, -5.16, 206.51, 2, 0)
  98. MovementLoopAddLocation(NPC, -22.38, -5.14, 210.98, 2, 0)
  99. MovementLoopAddLocation(NPC, -24.27, -5.39, 215.67, 2, 0)
  100. MovementLoopAddLocation(NPC, -17.32, -5.09, 213.62, 2, 0)
  101. MovementLoopAddLocation(NPC, -16.52, -5.17, 209.99, 2, 0)
  102. MovementLoopAddLocation(NPC, -13.86, -5.14, 204.8, 2, 0)
  103. MovementLoopAddLocation(NPC, -10.44, -5.11, 199.43, 2, 0)
  104. MovementLoopAddLocation(NPC, -7.5, -5.14, 194.95, 2, 0)
  105. MovementLoopAddLocation(NPC, -7.01, -5.2, 191.9, 2, 0)
  106. MovementLoopAddLocation(NPC, -8.56, -5.21, 188.34, 2, 0)
  107. MovementLoopAddLocation(NPC, -10.19, -5.2, 186.8, 2, 0)
  108. end