aCaltorsisknightPath3.lua 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisknightPath3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 10:02:26
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. AddTimer(NPC, 6000, "waypoints")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, -2101.55, 3.25, -457.53, 2, 4)
  21. MovementLoopAddLocation(NPC, -2106.25, 2.39, -463.52, 2, 0)
  22. MovementLoopAddLocation(NPC, -2109.98, 1.24, -468.29, 2, 0)
  23. MovementLoopAddLocation(NPC, -2113.41, 0.42, -472.67, 2, 0)
  24. MovementLoopAddLocation(NPC, -2116.9, -0.22, -477.12, 2, 0)
  25. MovementLoopAddLocation(NPC, -2120.64, -0.95, -481.88, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -2120.64, -0.95, -481.88, 2, 0)
  27. MovementLoopAddLocation(NPC, -2118.75, -0.07, -481.48, 2, 0)
  28. MovementLoopAddLocation(NPC, -2114.48, 1.84, -480.57, 2, 0)
  29. MovementLoopAddLocation(NPC, -2109.84, 4.28, -479.58, 2, 0)
  30. MovementLoopAddLocation(NPC, -2105.37, 6.35, -478.62, 2, 0)
  31. MovementLoopAddLocation(NPC, -2096.62, 10.23, -475.22, 2, 0)
  32. MovementLoopAddLocation(NPC, -2096.69, 9.69, -470.57, 2, 0)
  33. MovementLoopAddLocation(NPC, -2096.78, 9.08, -465.38, 2, 0)
  34. MovementLoopAddLocation(NPC, -2096.65, 8.05, -460.63, 2, 0)
  35. MovementLoopAddLocation(NPC, -2096.73, 5.79, -455.7, 2, 0)
  36. MovementLoopAddLocation(NPC, -2096.8, 3.78, -450.79, 2, 0)
  37. MovementLoopAddLocation(NPC, -2096.88, 1.73, -445.86, 2, 0)
  38. MovementLoopAddLocation(NPC, -2096.96, -0.38, -440.93, 2, 0)
  39. MovementLoopAddLocation(NPC, -2097.03, -2.33, -436.27, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -2097.03, -2.33, -436.27, 2, 0)
  41. MovementLoopAddLocation(NPC, -2098.12, -2.14, -438.77, 2, 0)
  42. MovementLoopAddLocation(NPC, -2100.38, -1.7, -443.97, 2, 0)
  43. MovementLoopAddLocation(NPC, -2102.94, -0.93, -449.86, 2, 0)
  44. MovementLoopAddLocation(NPC, -2105.36, -0.25, -455.42, 2, 0)
  45. MovementLoopAddLocation(NPC, -2107.83, 0.41, -461.1, 2, 0)
  46. MovementLoopAddLocation(NPC, -2119.79, 0.28, -486.52, 2, 0)
  47. MovementLoopAddLocation(NPC, -2122.83, -2.04, -482.14, 2, 0)
  48. MovementLoopAddLocation(NPC, -2125.62, -4.43, -478.09, 2, 0)
  49. MovementLoopAddLocation(NPC, -2128.64, -7.71, -473.74, 2, 0)
  50. MovementLoopAddLocation(NPC, -2131.43, -10.71, -469.7, 2, 0)
  51. MovementLoopAddLocation(NPC, -2134.02, -14.52, -465.97, 2, math.random(5,10))
  52. MovementLoopAddLocation(NPC, -2134.02, -14.52, -465.97, 2, 0)
  53. MovementLoopAddLocation(NPC, -2134.87, -13.46, -468.82, 2, 0)
  54. MovementLoopAddLocation(NPC, -2136.52, -11.84, -474.37, 2, 0)
  55. MovementLoopAddLocation(NPC, -2138.05, -10.8, -479.52, 2, 0)
  56. MovementLoopAddLocation(NPC, -2139.64, -10.25, -484.87, 2, 0)
  57. MovementLoopAddLocation(NPC, -2141.29, -10.08, -490.08, 2, 0)
  58. MovementLoopAddLocation(NPC, -2143.13, -9.99, -495.35, 2, math.random(5,10))
  59. MovementLoopAddLocation(NPC, -2143.13, -9.99, -495.35, 2, 0)
  60. MovementLoopAddLocation(NPC, -2140.8, -9.76, -490.52, 2, 0)
  61. MovementLoopAddLocation(NPC, -2137.15, -8.77, -486.08, 2, 0)
  62. MovementLoopAddLocation(NPC, -2134.58, -8.58, -480.59, 2, 0)
  63. MovementLoopAddLocation(NPC, -2131.5, -8.9, -474.82, 2, 0)
  64. MovementLoopAddLocation(NPC, -2127.96, -8.95, -469.29, 2, 0)
  65. MovementLoopAddLocation(NPC, -2124.94, -9.05, -464.56, 2, 0)
  66. MovementLoopAddLocation(NPC, -2121.97, -9.93, -459.93, 2, 0)
  67. MovementLoopAddLocation(NPC, -2118.45, -10.35, -454.43, 2, 0)
  68. MovementLoopAddLocation(NPC, -2114.98, -10.78, -449.01, 2, 0)
  69. MovementLoopAddLocation(NPC, -2114.55, -10.83, -448.34, 2, 0)
  70. MovementLoopAddLocation(NPC, -2113.43, -9.07, -449.85, 2, 0)
  71. MovementLoopAddLocation(NPC, -2110.93, -5.24, -453.23, 2, 0)
  72. MovementLoopAddLocation(NPC, -2108.29, -1.79, -456.79, 2, 0)
  73. MovementLoopAddLocation(NPC, -2105.77, 1.44, -460.18, 2, 0)
  74. MovementLoopAddLocation(NPC, -2103.32, 4.37, -463.48, 2, 0)
  75. MovementLoopAddLocation(NPC, -2100.7, 7.2, -467.01, 2, math.random(5,10))
  76. MovementLoopAddLocation(NPC, -2100.7, 7.2, -467.01, 2, 0)
  77. MovementLoopAddLocation(NPC, -2101.55, 3.25, -457.53, 2, 3)
  78. end