9
3

GuardValerian.lua 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/GuardValerian.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.11.27 04:11:41
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function respawn(NPC)
  10. spawn(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. if GetFactionAmount(Spawn,12)<0 then
  14. else
  15. FaceTarget(NPC, Spawn)
  16. GenericGuardHail(NPC,Spawn)
  17. end
  18. end
  19. function spawn(NPC)
  20. waypoints(NPC)
  21. end
  22. function waypoints(NPC)
  23. MovementLoopAddLocation(NPC, -15.55, 3.75, -30.53, 2, 0)
  24. MovementLoopAddLocation(NPC, -10.51, 3.25, -27.13, 2, 0)
  25. MovementLoopAddLocation(NPC, -8.21, 3, -24.92, 2, 0)
  26. MovementLoopAddLocation(NPC, -6.21, 3.25, -17.11, 2, 0)
  27. MovementLoopAddLocation(NPC, -5.41, 3.25, -11.43, 2, 0)
  28. MovementLoopAddLocation(NPC, -3.85, 3.25, -6.35, 2, 0)
  29. MovementLoopAddLocation(NPC, 0.96, 3.5, -3.49, 2, 0)
  30. MovementLoopAddLocation(NPC, 5.49, 3.5, -0.06, 2, 0)
  31. MovementLoopAddLocation(NPC, 11.41, 3.5, 5.29, 2, 0)
  32. MovementLoopAddLocation(NPC, 16.72, 3.5, 5.57, 2, 0)
  33. MovementLoopAddLocation(NPC, 23.78, 3.5, 7.13, 2, 0)
  34. MovementLoopAddLocation(NPC, 31.21, 3.15, 7.42, 2, 0)
  35. MovementLoopAddLocation(NPC, 34.6, 3, 6.34, 2, 0)
  36. MovementLoopAddLocation(NPC, 40.73, 3, 4.05, 2, 0)
  37. MovementLoopAddLocation(NPC, 44.32, 3, 3.95, 2, 0)
  38. MovementLoopAddLocation(NPC, 48.23, 3, 2.97, 2, 0)
  39. MovementLoopAddLocation(NPC, 48.23, 3, 2.97, 2, 6)
  40. MovementLoopAddLocation(NPC, 47.92, 3.5, -2.36, 2, 0)
  41. MovementLoopAddLocation(NPC, 48.01, 3.75, -5.81, 2, 0)
  42. MovementLoopAddLocation(NPC, 43.98, 3.75, -9.07, 2, 0)
  43. MovementLoopAddLocation(NPC, 40.13, 4.51, -9.92, 2, 0)
  44. MovementLoopAddLocation(NPC, 36.93, 5.25, -11.12, 2, 0)
  45. MovementLoopAddLocation(NPC, 28.96, 5.25, -9.06, 2, 0)
  46. MovementLoopAddLocation(NPC, 24.02, 5.25, -11.09, 2, 0)
  47. MovementLoopAddLocation(NPC, 20.92, 5.25, -14.09, 2, 0)
  48. MovementLoopAddLocation(NPC, 17.4, 4.75, -17.79, 2, 0)
  49. MovementLoopAddLocation(NPC, 15.17, 4.75, -20.15, 2, 0)
  50. MovementLoopAddLocation(NPC, 9.03, 4.75, -22.65, 2, 0)
  51. MovementLoopAddLocation(NPC, -0.63, 3.5, -22.11, 2, 0)
  52. MovementLoopAddLocation(NPC, -7.31, 3, -27.28, 2, 0)
  53. MovementLoopAddLocation(NPC, -16.66, 3.75, -31.7, 2, 6)
  54. MovementLoopAddLocation(NPC, -16.08, 3, -24.4, 2, 0)
  55. MovementLoopAddLocation(NPC, -16.67, 3, -16.29, 2, 0)
  56. MovementLoopAddLocation(NPC, -16.69, 2.5, -11.6, 2, 0)
  57. MovementLoopAddLocation(NPC, -10.35, 2.25, -6.55, 2, 0)
  58. MovementLoopAddLocation(NPC, -5.69, 2.75, -3.01, 2, 0)
  59. MovementLoopAddLocation(NPC, -1.24, 3.25, -2.38, 2, 0)
  60. MovementLoopAddLocation(NPC, 1.98, 3.5, -2.19, 2, 0)
  61. MovementLoopAddLocation(NPC, 8.33, 3.5, 2.61, 2, 0)
  62. MovementLoopAddLocation(NPC, 13.24, 3.5, 6.62, 2, 0)
  63. MovementLoopAddLocation(NPC, 18.3, 3.5, 8.14, 2, 0)
  64. MovementLoopAddLocation(NPC, 25.4, 3.5, 6.72, 2, 0)
  65. MovementLoopAddLocation(NPC, 32.86, 3.25, 5.7, 2, 0)
  66. MovementLoopAddLocation(NPC, 36.19, 3, 5.74, 2, 0)
  67. MovementLoopAddLocation(NPC, 40.36, 3, 4.25, 2, 0)
  68. MovementLoopAddLocation(NPC, 43.93, 3, 3.91, 2, 0)
  69. MovementLoopAddLocation(NPC, 47.06, 3, 3.13, 2, 0)
  70. MovementLoopAddLocation(NPC, 49.16, 3, 2.85, 2, 6)
  71. MovementLoopAddLocation(NPC, 53.36, 3.25, 3.12, 2, 10)
  72. MovementLoopAddLocation(NPC, 50.14, 3, 1.46, 2, 0)
  73. MovementLoopAddLocation(NPC, 48.2, 3.75, -4.36, 2, 0)
  74. MovementLoopAddLocation(NPC, 46.64, 3.75, -8.54, 2, 0)
  75. MovementLoopAddLocation(NPC, 41.13, 4.22, -9.05, 2, 0)
  76. MovementLoopAddLocation(NPC, 34.75, 5.25, -11.08, 2, 0)
  77. MovementLoopAddLocation(NPC, 27.35, 5.25, -9.25, 2, 0)
  78. MovementLoopAddLocation(NPC, 21.6, 5.25, -10.64, 2, 0)
  79. MovementLoopAddLocation(NPC, 21.46, 5.25, -15.43, 2, 0)
  80. MovementLoopAddLocation(NPC, 18.05, 4.75, -17.59, 2, 0)
  81. MovementLoopAddLocation(NPC, 13.15, 4.75, -21.2, 2, 0)
  82. MovementLoopAddLocation(NPC, 9.15, 4.75, -22.85, 2, 0)
  83. MovementLoopAddLocation(NPC, 0.32, 3.75, -22.11, 2, 0)
  84. MovementLoopAddLocation(NPC, -6.5, 3, -26.32, 2, 0)
  85. MovementLoopAddLocation(NPC, -12.92, 3.75, -30.29, 2, 0)
  86. MovementLoopAddLocation(NPC, -17.41, 3.75, -32.54, 2, 6)
  87. end