Anayloo.lua 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/Anayloo.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.12 03:06:41
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. GenericRaceCheckHail(NPC, Spawn, faction)
  15. end
  16. function InRange(NPC,Spawn)
  17. GenericRaceCheckCallout(NPC, Spawn, faction)
  18. end
  19. function Door(NPC,Spawn)
  20. local door = GetSpawn(NPC, 2210356)
  21. UseWidget(door)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 852.77, -23.99, 74.38, 2, 20)
  25. MovementLoopAddLocation(NPC, 848.71, -25.37, 71.82, 2, 0)
  26. MovementLoopAddLocation(NPC, 856.05, -25.37, 57.36, 2, 0)
  27. MovementLoopAddLocation(NPC, 865.16, -25.46, 45.37, 2, 0)
  28. MovementLoopAddLocation(NPC, 884.13, -25.37, 46.63, 2, 0)
  29. MovementLoopAddLocation(NPC, 892.46, -25.37, 39.64, 2, 0)
  30. MovementLoopAddLocation(NPC, 903.84, -25.37, -1.96, 2, 0)
  31. MovementLoopAddLocation(NPC, 896.71, -23.9, -31, 2, 0)
  32. MovementLoopAddLocation(NPC, 884.5, -25.4, -54.97, 2, 0)
  33. MovementLoopAddLocation(NPC, 854.92, -25.42, -59.72, 2, 0)
  34. MovementLoopAddLocation(NPC, 821.1, -22.52, -59.48, 2, 0)
  35. MovementLoopAddLocation(NPC, 801.26, -20.72, -58.68, 2, 0)
  36. MovementLoopAddLocation(NPC, 705.38, -20.7, -64.28, 2, 0)
  37. MovementLoopAddLocation(NPC, 705.41, -20.7, -64.2, 2, 60)
  38. MovementLoopAddLocation(NPC, 684.01, -21.44, -104.97, 2, 0)
  39. MovementLoopAddLocation(NPC, 678.45, -21.15, -106.46, 2, 0)
  40. MovementLoopAddLocation(NPC, 677.95, -21.05, -104.68, 2, 60)
  41. MovementLoopAddLocation(NPC, 681.86, -21.38, -105.35, 2, 0)
  42. MovementLoopAddLocation(NPC, 710.47, -20.98, -74.27, 2, 0)
  43. MovementLoopAddLocation(NPC, 748.66, -21.28, -62.63, 2, 0)
  44. MovementLoopAddLocation(NPC, 757.97, -20.8, -31.69, 2, 0)
  45. MovementLoopAddLocation(NPC, 747.91, -20.71, 7.93, 2, 0)
  46. MovementLoopAddLocation(NPC, 748.73, -20.64, 9.16, 2, 60)
  47. MovementLoopAddLocation(NPC, 749.16, -20.67, 8.58, 2, 0)
  48. MovementLoopAddLocation(NPC, 764.65, -21.49, -45.82, 2, 0)
  49. MovementLoopAddLocation(NPC, 801.67, -20.69, -62.41, 2, 0)
  50. MovementLoopAddLocation(NPC, 832.47, -24.93, -64.19, 2, 0)
  51. MovementLoopAddLocation(NPC, 879.45, -25.36, -64.27, 2, 0)
  52. MovementLoopAddLocation(NPC, 901.62, -23.43, -38.53, 2, 0)
  53. MovementLoopAddLocation(NPC, 907.79, -25.37, -1.33, 2, 0)
  54. MovementLoopAddLocation(NPC, 905.68, -25.41, 15.67, 2, 0)
  55. MovementLoopAddLocation(NPC, 896.9, -25.37, 38.39, 2, 0)
  56. MovementLoopAddLocation(NPC, 887.14, -25.37, 46.11, 2, 0)
  57. MovementLoopAddLocation(NPC, 866, -25.45, 51.09, 2, 0)
  58. MovementLoopAddLocation(NPC, 858.21, -25.37, 54.68, 2, 0)
  59. MovementLoopAddLocation(NPC, 848.18, -25.47, 67.87, 2, 0)
  60. MovementLoopAddLocation(NPC, 853.3, -23.99, 74.58, 2, 0)
  61. MovementLoopAddLocation(NPC, 856.89, -23.99, 68.21, 2, 0)
  62. MovementLoopAddLocation(NPC, 851.66, -25.37, 65.41, 2, 0)
  63. MovementLoopAddLocation(NPC, 857.36, -25.48, 53.07, 2, 0)
  64. MovementLoopAddLocation(NPC, 860.55, -25.44, 44.42, 2, 0)
  65. MovementLoopAddLocation(NPC, 858.14, -25.39, 43.22, 2, 0)
  66. MovementLoopAddLocation(NPC, 854.87, -24.49, 42.55, 2, 0)
  67. MovementLoopAddLocation(NPC, 837.73, -23.29, 45.13, 2, 0)
  68. MovementLoopAddLocation(NPC, 835.69, -23.31, 45.47, 2, 0)
  69. MovementLoopAddLocation(NPC, 832.35, -23.31, 52.39, 2, 0)
  70. MovementLoopAddLocation(NPC, 825.28, -23.31, 67.62, 2, 0)
  71. MovementLoopAddLocation(NPC, 820.31, -23.33, 79.17, 2, 0)
  72. MovementLoopAddLocation(NPC, 819.5, -23.32, 96.74, 2, 0)
  73. MovementLoopAddLocation(NPC, 808.35, -23.38, 102.88, 2, 0)
  74. MovementLoopAddLocation(NPC, 805.21, -23.23, 96.73, 2, 2,"Door")
  75. MovementLoopAddLocation(NPC, 799.24, -23.26, 95.53, 2, 0)
  76. MovementLoopAddLocation(NPC, 798.52, -23.26, 97.78, 2, 0)
  77. MovementLoopAddLocation(NPC, 798.3, -23.26, 97.77, 2, 20)
  78. MovementLoopAddLocation(NPC, 797.18, -23.26, 97.36, 2, 0)
  79. MovementLoopAddLocation(NPC, 798.35, -23.26, 96.1, 2, 0)
  80. MovementLoopAddLocation(NPC, 799.05, -23.26, 96.1, 2, 2,"Door")
  81. MovementLoopAddLocation(NPC, 803.65, -23.23, 96.1, 2, 0)
  82. MovementLoopAddLocation(NPC, 811.85, -23.34, 95.94, 2, 0)
  83. MovementLoopAddLocation(NPC, 813.26, -23.33, 92.86, 2, 0)
  84. MovementLoopAddLocation(NPC, 814.81, -23.31, 81.18, 2, 0)
  85. MovementLoopAddLocation(NPC, 828.37, -23.32, 50.78, 2, 0)
  86. MovementLoopAddLocation(NPC, 831.04, -23.32, 44.97, 2, 0)
  87. MovementLoopAddLocation(NPC, 836.89, -23.28, 42.4, 2, 0)
  88. MovementLoopAddLocation(NPC, 845.53, -23.13, 40.71, 2, 0)
  89. MovementLoopAddLocation(NPC, 858.75, -25.38, 38.86, 2, 0)
  90. MovementLoopAddLocation(NPC, 863.8, -25.37, 39.82, 2, 0)
  91. MovementLoopAddLocation(NPC, 863.52, -25.37, 55.9, 2, 15)
  92. MovementLoopAddLocation(NPC, 864.66, -25.37, 54.92, 2, 0)
  93. MovementLoopAddLocation(NPC, 863.16, -25.39, 53.26, 2, 0)
  94. MovementLoopAddLocation(NPC, 860.92, -25.38, 53.15, 2, 0)
  95. MovementLoopAddLocation(NPC, 859.23, -25.37, 53.77, 2, 0)
  96. MovementLoopAddLocation(NPC, 856.21, -25.37, 57.58, 2, 0)
  97. MovementLoopAddLocation(NPC, 854.09, -25.38, 60.24, 2, 0)
  98. MovementLoopAddLocation(NPC, 848.07, -25.38, 71.68, 2, 0)
  99. MovementLoopAddLocation(NPC, 852.21, -23.99, 74.19, 2, 15)
  100. end