Jelinza.lua 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/Jelinza.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.12 06:06:25
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 821.8, -23.32, 19, 2, 15)
  22. MovementLoopAddLocation(NPC, 821.61, -23.33, 18.6, 2, 0)
  23. MovementLoopAddLocation(NPC, 817.99, -23.33, 20.5, 2, 0)
  24. MovementLoopAddLocation(NPC, 812.02, -23.33, 25.17, 2, 0)
  25. MovementLoopAddLocation(NPC, 792.97, -23.29, 55.99, 2, 0)
  26. MovementLoopAddLocation(NPC, 781.55, -23.37, 66.11, 2, 1)
  27. MovementLoopAddLocation(NPC, 781.55, -23.37, 66.11, 2, 15,"EcologyEmotes")
  28. MovementLoopAddLocation(NPC, 781.13, -23.38, 66.26, 2, 0)
  29. MovementLoopAddLocation(NPC, 780.64, -23.33, 73.2, 2, 0)
  30. MovementLoopAddLocation(NPC, 782.72, -23.28, 74.89, 2, 0)
  31. MovementLoopAddLocation(NPC, 806.44, -23.23, 83.52, 2, 1)
  32. MovementLoopAddLocation(NPC, 806.44, -23.23, 83.52, 2, 15,"EcologyEmotes")
  33. MovementLoopAddLocation(NPC, 807.24, -23.26, 83.65, 2, 0)
  34. MovementLoopAddLocation(NPC, 812.05, -23.35, 82.78, 2, 0)
  35. MovementLoopAddLocation(NPC, 812.86, -23.34, 80.08, 2, 0)
  36. MovementLoopAddLocation(NPC, 820.6, -23.32, 65.79, 2, 0)
  37. MovementLoopAddLocation(NPC, 827.99, -23.32, 51.12, 2, 0)
  38. MovementLoopAddLocation(NPC, 833.73, -23.31, 43.45, 2, 0)
  39. MovementLoopAddLocation(NPC, 844.93, -23.13, 40.86, 2, 0)
  40. MovementLoopAddLocation(NPC, 857.45, -25.38, 38.7, 2, 0)
  41. MovementLoopAddLocation(NPC, 876.84, -25.37, 44.1, 2, 0)
  42. MovementLoopAddLocation(NPC, 884.75, -25.43, 27.88, 2, 1)
  43. MovementLoopAddLocation(NPC, 884.75, -25.43, 27.88, 2, 15,"EcologyEmotes")
  44. MovementLoopAddLocation(NPC, 885.22, -25.43, 26.98, 2, 0)
  45. MovementLoopAddLocation(NPC, 895.32, -25.42, 29.35, 2, 0)
  46. MovementLoopAddLocation(NPC, 899.84, -25.43, 12.72, 2, 0)
  47. MovementLoopAddLocation(NPC, 901.72, -25.43, 0.76, 2, 0)
  48. MovementLoopAddLocation(NPC, 901.64, -25.41, -9.21, 2, 0)
  49. MovementLoopAddLocation(NPC, 898.08, -25.42, -22.93, 2, 0)
  50. MovementLoopAddLocation(NPC, 894.34, -23.4, -37.32, 2, 0)
  51. MovementLoopAddLocation(NPC, 891.09, -25.33, -47.47, 2, 0)
  52. MovementLoopAddLocation(NPC, 883.01, -25.41, -56.34, 2, 0)
  53. MovementLoopAddLocation(NPC, 879.05, -25.41, -58.03, 2, 0)
  54. MovementLoopAddLocation(NPC, 868.81, -25.36, -54.87, 2, 1)
  55. MovementLoopAddLocation(NPC, 868.81, -25.36, -54.87, 2, 15,"EcologyEmotes")
  56. MovementLoopAddLocation(NPC, 868.57, -25.32, -54.49, 2, 0)
  57. MovementLoopAddLocation(NPC, 864.03, -25.44, -58.71, 2, 0)
  58. MovementLoopAddLocation(NPC, 845.83, -25.43, -58.72, 2, 0)
  59. MovementLoopAddLocation(NPC, 814.99, -21.2, -58.11, 2, 0)
  60. MovementLoopAddLocation(NPC, 811.83, -20.4, -57.68, 2, 0)
  61. MovementLoopAddLocation(NPC, 801.96, -20.68, -57.32, 2, 0)
  62. MovementLoopAddLocation(NPC, 793.62, -21.06, -55.3, 2, 0)
  63. MovementLoopAddLocation(NPC, 761.75, -21.79, -53.76, 2, 0)
  64. MovementLoopAddLocation(NPC, 742.79, -21.04, -65.44, 2, 0)
  65. MovementLoopAddLocation(NPC, 722.41, -20.86, -72.26, 2, 0)
  66. MovementLoopAddLocation(NPC, 707.05, -20.95, -94.16, 2, 0)
  67. MovementLoopAddLocation(NPC, 682.42, -20.74, -89.49, 2, 1)
  68. MovementLoopAddLocation(NPC, 682.42, -20.74, -89.49, 2, 15,"EcologyEmotes")
  69. MovementLoopAddLocation(NPC, 683.45, -20.8, -89.49, 2, 0)
  70. MovementLoopAddLocation(NPC, 689.56, -21.16, -90.87, 2, 0)
  71. MovementLoopAddLocation(NPC, 695.51, -21.07, -83.76, 2, 0)
  72. MovementLoopAddLocation(NPC, 704.38, -20.96, -74.55, 2, 0)
  73. MovementLoopAddLocation(NPC, 709.51, -20.87, -66.29, 2, 0)
  74. MovementLoopAddLocation(NPC, 705.48, -21, -59.22, 2, 0)
  75. MovementLoopAddLocation(NPC, 701.29, -21.08, -53.62, 2, 0)
  76. MovementLoopAddLocation(NPC, 702.65, -21.08, -46.36, 2, 0)
  77. MovementLoopAddLocation(NPC, 701.15, -21.06, -39.47, 2, 0)
  78. MovementLoopAddLocation(NPC, 698.39, -20.97, -34.25, 2, 0)
  79. MovementLoopAddLocation(NPC, 695.87, -20.76, -31.74, 2, 1)
  80. MovementLoopAddLocation(NPC, 695.87, -20.76, -31.74, 2, 15,"EcologyEmotes")
  81. MovementLoopAddLocation(NPC, 696.45, -20.72, -31.32, 2, 0)
  82. MovementLoopAddLocation(NPC, 725.94, -20.64, -3.43, 2, 1)
  83. MovementLoopAddLocation(NPC, 725.94, -20.64, -3.43, 2, 15,"EcologyEmotes")
  84. MovementLoopAddLocation(NPC, 726.53, -20.65, -3.8, 2, 0)
  85. MovementLoopAddLocation(NPC, 729.41, -20.66, -5.07, 2, 0)
  86. MovementLoopAddLocation(NPC, 735.12, -21.01, -12.62, 2, 0)
  87. MovementLoopAddLocation(NPC, 755.88, -21.05, -8.22, 2, 0)
  88. MovementLoopAddLocation(NPC, 769.98, -20.64, -2.39, 2, 15)
  89. MovementLoopAddLocation(NPC, 770.17, -20.64, -2.25, 2, 0)
  90. MovementLoopAddLocation(NPC, 764.09, -20.91, -17.66, 2, 0)
  91. MovementLoopAddLocation(NPC, 760.22, -20.73, -29.6, 2, 0)
  92. MovementLoopAddLocation(NPC, 764.67, -21.03, -40.27, 2, 0)
  93. MovementLoopAddLocation(NPC, 769.22, -21.36, -45.15, 2, 0)
  94. MovementLoopAddLocation(NPC, 780.72, -21.44, -54.59, 2, 0)
  95. MovementLoopAddLocation(NPC, 795.33, -20.99, -61.95, 2, 0)
  96. MovementLoopAddLocation(NPC, 801.81, -20.69, -63.28, 2, 0)
  97. MovementLoopAddLocation(NPC, 816.14, -21.37, -64.86, 2, 0)
  98. MovementLoopAddLocation(NPC, 820.91, -22.44, -65.73, 2, 0)
  99. MovementLoopAddLocation(NPC, 846.81, -25.34, -68.11, 2, 0)
  100. MovementLoopAddLocation(NPC, 861.31, -25.43, -68.64, 2, 0)
  101. MovementLoopAddLocation(NPC, 874.6, -25.37, -66.36, 2, 0)
  102. MovementLoopAddLocation(NPC, 890.33, -25.43, -62.27, 2, 0)
  103. MovementLoopAddLocation(NPC, 896.84, -25.39, -51.69, 2, 0)
  104. MovementLoopAddLocation(NPC, 903.58, -23.63, -35.54, 2, 0)
  105. MovementLoopAddLocation(NPC, 906.85, -25.41, -24.72, 2, 0)
  106. MovementLoopAddLocation(NPC, 898.46, -25.41, -23.41, 2, 0)
  107. MovementLoopAddLocation(NPC, 894.36, -25.52, -24.27, 2, 0)
  108. MovementLoopAddLocation(NPC, 887.44, -25.44, -27.04, 2, 0)
  109. MovementLoopAddLocation(NPC, 876.54, -25.46, -30.85, 2, 0)
  110. MovementLoopAddLocation(NPC, 867.87, -25.45, -31.58, 2, 0)
  111. MovementLoopAddLocation(NPC, 862.13, -25.43, -30.37, 2, 0)
  112. MovementLoopAddLocation(NPC, 858.01, -25.43, -29.32, 2, 0)
  113. MovementLoopAddLocation(NPC, 824.4, -25.46, -8.59, 2, 15)
  114. MovementLoopAddLocation(NPC, 823.94, -25.46, -8.11, 2, 0)
  115. MovementLoopAddLocation(NPC, 833.77, -25.46, -4.68, 2, 0)
  116. MovementLoopAddLocation(NPC, 836.53, -25.48, -3.78, 2, 0)
  117. MovementLoopAddLocation(NPC, 843.75, -25.47, 9.03, 2, 0)
  118. MovementLoopAddLocation(NPC, 845.76, -25.48, 12.83, 2, 0)
  119. MovementLoopAddLocation(NPC, 856.6, -25.46, 23.05, 2, 0)
  120. MovementLoopAddLocation(NPC, 858.87, -25.48, 28.71, 2, 0)
  121. MovementLoopAddLocation(NPC, 855.9, -25.46, 30.01, 2, 1)
  122. MovementLoopAddLocation(NPC, 855.9, -25.46, 30.01, 2, 15,"EcologyEmotes")
  123. MovementLoopAddLocation(NPC, 855.58, -25.59, 29.71, 2, 0)
  124. MovementLoopAddLocation(NPC, 858.93, -25.49, 31.62, 2, 0)
  125. MovementLoopAddLocation(NPC, 858.92, -25.37, 42.28, 2, 0)
  126. MovementLoopAddLocation(NPC, 845.48, -23.13, 44.6, 2, 0)
  127. MovementLoopAddLocation(NPC, 836.34, -23.31, 46.28, 2, 0)
  128. MovementLoopAddLocation(NPC, 821.11, -23.3, 36.43, 2, 0)
  129. MovementLoopAddLocation(NPC, 810.69, -23.32, 28.36, 2, 0)
  130. MovementLoopAddLocation(NPC, 819.05, -23.33, 19.78, 2, 0)
  131. end