aCaltorsisknightPath2.lua 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : SpawnScripts/Antonica/aCaltorsisknightPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.02.07 10:02:42
  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, -2114.7, -16.59, -433.84, 2, 4)
  21. MovementLoopAddLocation(NPC, -2113.55, -14.69, -437.28, 2, 0)
  22. MovementLoopAddLocation(NPC, -2113.57, -12.57, -442.67, 2, 0)
  23. MovementLoopAddLocation(NPC, -2115.63, -11.82, -448.11, 2, 0)
  24. MovementLoopAddLocation(NPC, -2118.72, -10.89, -453.88, 2, 0)
  25. MovementLoopAddLocation(NPC, -2118.84, -10.85, -454.12, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -2119.68, -11.32, -454.45, 2, 0)
  27. MovementLoopAddLocation(NPC, -2123.92, -13.72, -456.13, 2, 0)
  28. MovementLoopAddLocation(NPC, -2128.52, -15.69, -457.95, 2, 0)
  29. MovementLoopAddLocation(NPC, -2133.17, -17.07, -459.8, 2, 0)
  30. MovementLoopAddLocation(NPC, -2134.34, -17.41, -460.26, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -2134.34, -17.41, -460.26, 2, 0)
  32. MovementLoopAddLocation(NPC, -2132.35, -16.93, -459.25, 2, 0)
  33. MovementLoopAddLocation(NPC, -2128.21, -15.93, -457.14, 2, 0)
  34. MovementLoopAddLocation(NPC, -2123.83, -14.36, -454.91, 2, 0)
  35. MovementLoopAddLocation(NPC, -2119.43, -12.17, -452.67, 2, 0)
  36. MovementLoopAddLocation(NPC, -2115.04, -9.99, -450.43, 2, 0)
  37. MovementLoopAddLocation(NPC, -2109.56, -6.91, -447.64, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, -2109.56, -6.91, -447.64, 2, 0)
  39. MovementLoopAddLocation(NPC, -2109.87, -6.01, -449.91, 2, 0)
  40. MovementLoopAddLocation(NPC, -2110.56, -4.24, -454.94, 2, 0)
  41. MovementLoopAddLocation(NPC, -2111.24, -2.45, -459.93, 2, 0)
  42. MovementLoopAddLocation(NPC, -2111.83, -1.01, -464.18, 2, 0)
  43. MovementLoopAddLocation(NPC, -2112.52, 0, -469.19, 2, 0)
  44. MovementLoopAddLocation(NPC, -2113.19, 0.87, -474.05, 2, math.random(5,10))
  45. MovementLoopAddLocation(NPC, -2113.19, 0.87, -474.05, 2, 0)
  46. MovementLoopAddLocation(NPC, -2112.68, 0.59, -471.87, 2, 0)
  47. MovementLoopAddLocation(NPC, -2111.48, -0.09, -466.71, 2, 0)
  48. MovementLoopAddLocation(NPC, -2110.33, -1.04, -461.77, 2, 0)
  49. MovementLoopAddLocation(NPC, -2109.09, -2.52, -456.45, 2, 0)
  50. MovementLoopAddLocation(NPC, -2107.92, -3.87, -451.42, 2, 0)
  51. MovementLoopAddLocation(NPC, -2106.74, -5.29, -446.38, 2, 0)
  52. MovementLoopAddLocation(NPC, -2105.58, -6.71, -441.38, 2, 0)
  53. MovementLoopAddLocation(NPC, -2104.26, -8.2, -435.72, 2, 0)
  54. MovementLoopAddLocation(NPC, -2102.94, -9.06, -430.07, 2, 0)
  55. MovementLoopAddLocation(NPC, -2101.91, -9.65, -425.63, 2, math.random(5,10))
  56. MovementLoopAddLocation(NPC, -2101.91, -9.65, -425.63, 2, 0)
  57. MovementLoopAddLocation(NPC, -2103.46, -10.79, -425.73, 2, 0)
  58. MovementLoopAddLocation(NPC, -2108.37, -14.28, -426.06, 2, 0)
  59. MovementLoopAddLocation(NPC, -2114.03, -17.62, -426.44, 2, 0)
  60. MovementLoopAddLocation(NPC, -2118.81, -18.85, -426.75, 2, 0)
  61. MovementLoopAddLocation(NPC, -2114.7, -16.59, -433.84, 2, 3)
  62. end