aDervishgobetweenPath2.lua 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aDervishgobetweenPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.08 08:03:34
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. human(NPC)
  12. Beggar(NPC)
  13. AddTimer(NPC, 6000, "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, 1227.06, -33.37, -188.57, 6, 0)
  23. MovementLoopAddLocation(NPC, 1240.35, -32.27, -154.7, 6, 0)
  24. MovementLoopAddLocation(NPC, 1257.53, -35.94, -117.71, 6, 0)
  25. MovementLoopAddLocation(NPC, 1276.81, -32.55, -79.91, 6, 0)
  26. MovementLoopAddLocation(NPC, 1283.59, -29.69, -47.49, 6, 0)
  27. MovementLoopAddLocation(NPC, 1299.32, -29.84, -19.68, 6, 0)
  28. MovementLoopAddLocation(NPC, 1330.04, -31, 19.06, 6, 0)
  29. MovementLoopAddLocation(NPC, 1357.3, -33.07, 54.49, 6, 0)
  30. MovementLoopAddLocation(NPC, 1372.39, -32.38, 86.56, 6, 0)
  31. MovementLoopAddLocation(NPC, 1370.81, -33.58, 123.79, 6, 0)
  32. MovementLoopAddLocation(NPC, 1356.04, -36.35, 181.61, 6, 0)
  33. MovementLoopAddLocation(NPC, 1353.44, -39.28, 214.71, 6, 0)
  34. MovementLoopAddLocation(NPC, 1354.87, -39.47, 245.43, 6, 0)
  35. MovementLoopAddLocation(NPC, 1345.98, -40.1, 270.87, 6, 0)
  36. MovementLoopAddLocation(NPC, 1329.57, -37.01, 331.52, 6, 0)
  37. MovementLoopAddLocation(NPC, 1330.07, -35.57, 356.97, 6, 0)
  38. MovementLoopAddLocation(NPC, 1316.33, -30.56, 388.56, 6, 0)
  39. MovementLoopAddLocation(NPC, 1304.62, -25.88, 402.67, 6, 0)
  40. MovementLoopAddLocation(NPC, 1285.44, -22.34, 413.78, 6, 0)
  41. MovementLoopAddLocation(NPC, 1262.02, -17.28, 427.42, 6, 0)
  42. MovementLoopAddLocation(NPC, 1238.57, -21.29, 436.47, 6, 0)
  43. MovementLoopAddLocation(NPC, 1223.62, -24.89, 444.88, 6, 0)
  44. MovementLoopAddLocation(NPC, 1183.27, -35.73, 463.94, 6, 0)
  45. MovementLoopAddLocation(NPC, 1158.1, -39.18, 465.2, 6, 0)
  46. MovementLoopAddLocation(NPC, 1138.65, -39.97, 470.67, 6, 0)
  47. MovementLoopAddLocation(NPC, 1113.57, -42.19, 466.33, 6, 0)
  48. MovementLoopAddLocation(NPC, 1079.24, -42.45, 467.48, 6, 0)
  49. MovementLoopAddLocation(NPC, 1042.63, -43.21, 465.46, 6, 0)
  50. MovementLoopAddLocation(NPC, 997.1, -42.37, 439.51, 6, 0)
  51. MovementLoopAddLocation(NPC, 951.53, -44.74, 413.54, 6, 0)
  52. MovementLoopAddLocation(NPC, 911.11, -49.66, 390.5, 6, 0)
  53. MovementLoopAddLocation(NPC, 822.14, -54.21, 339.8, 6, 0)
  54. MovementLoopAddLocation(NPC, 785.66, -53.76, 319.72, 6, 0)
  55. MovementLoopAddLocation(NPC, 742.81, -54.09, 311.29, 6, 0)
  56. MovementLoopAddLocation(NPC, 720.94, -53.69, 299.59, 6, 0)
  57. MovementLoopAddLocation(NPC, 701.99, -51.69, 281.21, 6, 0)
  58. MovementLoopAddLocation(NPC, 701.99, -51.69, 281.21, 6, 0)
  59. MovementLoopAddLocation(NPC, 720.94, -53.69, 299.59, 6, 0)
  60. MovementLoopAddLocation(NPC, 742.81, -54.09, 311.29, 6, 0)
  61. MovementLoopAddLocation(NPC, 785.66, -53.76, 319.72, 6, 0)
  62. MovementLoopAddLocation(NPC, 822.14, -54.21, 339.8, 6, 0)
  63. MovementLoopAddLocation(NPC, 911.11, -49.66, 390.5, 6, 0)
  64. MovementLoopAddLocation(NPC, 951.53, -44.74, 413.54, 6, 0)
  65. MovementLoopAddLocation(NPC, 997.1, -42.37, 439.51, 6, 0)
  66. MovementLoopAddLocation(NPC, 1042.63, -43.21, 465.46, 6, 0)
  67. MovementLoopAddLocation(NPC, 1079.24, -42.45, 467.48, 6, 0)
  68. MovementLoopAddLocation(NPC, 1113.57, -42.19, 466.33, 6, 0)
  69. MovementLoopAddLocation(NPC, 1138.65, -39.97, 470.67, 6, 0)
  70. MovementLoopAddLocation(NPC, 1158.1, -39.18, 465.2, 6, 0)
  71. MovementLoopAddLocation(NPC, 1183.27, -35.73, 463.94, 6, 0)
  72. MovementLoopAddLocation(NPC, 1223.62, -24.89, 444.88, 6, 0)
  73. MovementLoopAddLocation(NPC, 1238.57, -21.29, 436.47, 6, 0)
  74. MovementLoopAddLocation(NPC, 1262.02, -17.28, 427.42, 6, 0)
  75. MovementLoopAddLocation(NPC, 1285.44, -22.34, 413.78, 6, 0)
  76. MovementLoopAddLocation(NPC, 1304.62, -25.88, 402.67, 6, 0)
  77. MovementLoopAddLocation(NPC, 1316.33, -30.56, 388.56, 6, 0)
  78. MovementLoopAddLocation(NPC, 1330.07, -35.57, 356.97, 6, 0)
  79. MovementLoopAddLocation(NPC, 1329.57, -37.01, 331.52, 6, 0)
  80. MovementLoopAddLocation(NPC, 1345.98, -40.1, 270.87, 6, 0)
  81. MovementLoopAddLocation(NPC, 1354.87, -39.47, 245.43, 6, 0)
  82. MovementLoopAddLocation(NPC, 1353.44, -39.28, 214.71, 6, 0)
  83. MovementLoopAddLocation(NPC, 1356.04, -36.35, 181.61, 6, 0)
  84. MovementLoopAddLocation(NPC, 1370.81, -33.58, 123.79, 6, 0)
  85. MovementLoopAddLocation(NPC, 1372.39, -32.38, 86.56, 6, 0)
  86. MovementLoopAddLocation(NPC, 1357.3, -33.07, 54.49, 6, 0)
  87. MovementLoopAddLocation(NPC, 1330.04, -31, 19.06, 6, 0)
  88. MovementLoopAddLocation(NPC, 1299.32, -29.84, -19.68, 6, 0)
  89. MovementLoopAddLocation(NPC, 1283.59, -29.69, -47.49, 6, 0)
  90. MovementLoopAddLocation(NPC, 1276.81, -32.55, -79.91, 6, 0)
  91. MovementLoopAddLocation(NPC, 1257.53, -35.94, -117.71, 6, 0)
  92. MovementLoopAddLocation(NPC, 1240.35, -32.27, -154.7, 6, 0)
  93. MovementLoopAddLocation(NPC, 1227.06, -33.37, -188.57, 6, 0)
  94. end