taseela.lua 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. --[[
  2. Script Name : taseela.lua
  3. Script Purpose : Waypoint Path for taseela.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 04:00:49 PM
  6. Script Notes : Locations collected from Live
  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 respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 471.7, -20.99, 193.86, 2, 0)
  25. MovementLoopAddLocation(NPC, 493.1, -12.32, 147.33, 2, 0)
  26. MovementLoopAddLocation(NPC, 491.13, -11.45, 135.98, 2, 0)
  27. MovementLoopAddLocation(NPC, 490.3, -11.5, 129.03, 2, 0)
  28. MovementLoopAddLocation(NPC, 488.84, -11.52, 124.02, 2, 0)
  29. MovementLoopAddLocation(NPC, 486.64, -11.53, 120.61, 2, 0)
  30. MovementLoopAddLocation(NPC, 483.51, -11.52, 116.17, 2, 0)
  31. MovementLoopAddLocation(NPC, 482.23, -11.27, 114.12, 2, 0)
  32. MovementLoopAddLocation(NPC, 483.44, -11.52, 115.16, 2, 0)
  33. MovementLoopAddLocation(NPC, 486.92, -11.52, 118.06, 2, 0)
  34. MovementLoopAddLocation(NPC, 488.82, -11.52, 121.46, 2, 0)
  35. MovementLoopAddLocation(NPC, 489.71, -11.52, 125.6, 2, 0)
  36. MovementLoopAddLocation(NPC, 489.21, -11.51, 129.2, 2, 0)
  37. MovementLoopAddLocation(NPC, 487.71, -11.5, 133.86, 2, 0)
  38. MovementLoopAddLocation(NPC, 486.19, -11.48, 139.06, 2, 0)
  39. MovementLoopAddLocation(NPC, 485.61, -11.43, 141.46, 2, 0)
  40. MovementLoopAddLocation(NPC, 493.67, -11.68, 143.72, 2, 0)
  41. MovementLoopAddLocation(NPC, 516.38, -10.45, 149.36, 2, 0)
  42. MovementLoopAddLocation(NPC, 528.67, -10.51, 150.52, 2, 0)
  43. MovementLoopAddLocation(NPC, 540.31, -10.49, 150.73, 2, 0)
  44. MovementLoopAddLocation(NPC, 545.51, -10.54, 150.86, 2, 0,"Door1")
  45. MovementLoopAddLocation(NPC, 546.39, -9.56, 136.3, 2, 0)
  46. MovementLoopAddLocation(NPC, 538.73, -9.56, 132.99, 2, 0)
  47. MovementLoopAddLocation(NPC, 538.95, -9.56, 130.4, 2, 0)
  48. MovementLoopAddLocation(NPC, 546.87, -8.54, 130.88, 2, 0)
  49. MovementLoopAddLocation(NPC, 546.87, -8.54, 130.88, 2, 8,"EcologyEmotes")
  50. MovementLoopAddLocation(NPC, 555.09, -9.56, 130.96, 2, 0)
  51. MovementLoopAddLocation(NPC, 555.19, -9.56, 134.75, 2, 0)
  52. MovementLoopAddLocation(NPC, 546.18, -9.56, 134.86, 2, 0,"Door1")
  53. MovementLoopAddLocation(NPC, 546.45, -10.56, 151.11, 2, 0)
  54. MovementLoopAddLocation(NPC, 585.38, -10.44, 147.7, 2, 0)
  55. MovementLoopAddLocation(NPC, 617.72, -12.21, 145.89, 2, 0)
  56. MovementLoopAddLocation(NPC, 620.85, -12.71, 159.02, 2, 0)
  57. MovementLoopAddLocation(NPC, 623.31, -15.72, 183.69, 2, 0)
  58. MovementLoopAddLocation(NPC, 626.2, -16.55, 194.05, 2, 0)
  59. MovementLoopAddLocation(NPC, 627.65, -16.46, 194.55, 2, 0)
  60. MovementLoopAddLocation(NPC, 637.49, -16.8, 194.18, 2, 0)
  61. MovementLoopAddLocation(NPC, 666.3, -18.35, 186.84, 2, 0)
  62. MovementLoopAddLocation(NPC, 677.83, -19.33, 184.59, 2, 0)
  63. MovementLoopAddLocation(NPC, 682.89, -19.33, 197.87, 2, 0)
  64. MovementLoopAddLocation(NPC, 706.09, -19.54, 190.22, 2, 0)
  65. MovementLoopAddLocation(NPC, 711.17, -19.89, 168.56, 2, 0)
  66. MovementLoopAddLocation(NPC, 712.74, -20.86, 161.78, 2, 1)
  67. MovementLoopAddLocation(NPC, 712.74, -20.86, 161.78, 2, 8,"EcologyEmotes")
  68. MovementLoopAddLocation(NPC, 712.74, -20.86, 161.78, 2, 1)
  69. MovementLoopAddLocation(NPC, 715.26, -19.93, 167.66, 2, 0)
  70. MovementLoopAddLocation(NPC, 723.3, -19.61, 192.39, 2, 0)
  71. MovementLoopAddLocation(NPC, 709.6, -19.52, 197.11, 2, 0)
  72. MovementLoopAddLocation(NPC, 706.5, -19.54, 192.05, 2, 0)
  73. MovementLoopAddLocation(NPC, 700.81, -19.53, 194.11, 2, 0)
  74. MovementLoopAddLocation(NPC, 689.99, -19.52, 197.91, 2, 0)
  75. MovementLoopAddLocation(NPC, 689.12, -19.52, 205.42, 2, 0)
  76. MovementLoopAddLocation(NPC, 687.59, -19.52, 212.44, 2, 0)
  77. MovementLoopAddLocation(NPC, 682.22, -19.55, 217, 2, 0)
  78. MovementLoopAddLocation(NPC, 676.11, -19.6, 219.38, 2, 0)
  79. MovementLoopAddLocation(NPC, 610.55, -18.19, 238.03, 2, 0)
  80. MovementLoopAddLocation(NPC, 568.96, -17.89, 242.95, 2, 0)
  81. MovementLoopAddLocation(NPC, 536.28, -18.21, 242.2, 2, 0)
  82. MovementLoopAddLocation(NPC, 483.43, -20.74, 238.36, 2, 0)
  83. MovementLoopAddLocation(NPC, 461.83, -21.89, 232.14, 2, 0)
  84. MovementLoopAddLocation(NPC, 462.87, -21.32, 219.81, 2, 0)
  85. MovementLoopAddLocation(NPC, 472.51, -21.16, 195.49, 2, 0)
  86. MovementLoopAddLocation(NPC, 462.87, -21.32, 219.81, 2, 0)
  87. MovementLoopAddLocation(NPC, 461.83, -21.89, 232.14, 2, 0)
  88. MovementLoopAddLocation(NPC, 483.43, -20.74, 238.36, 2, 0)
  89. MovementLoopAddLocation(NPC, 536.28, -18.21, 242.2, 2, 0)
  90. MovementLoopAddLocation(NPC, 568.96, -17.89, 242.95, 2, 0)
  91. MovementLoopAddLocation(NPC, 610.55, -18.19, 238.03, 2, 0)
  92. MovementLoopAddLocation(NPC, 676.11, -19.6, 219.38, 2, 0)
  93. MovementLoopAddLocation(NPC, 682.22, -19.55, 217, 2, 0)
  94. MovementLoopAddLocation(NPC, 687.59, -19.52, 212.44, 2, 0)
  95. MovementLoopAddLocation(NPC, 689.12, -19.52, 205.42, 2, 0)
  96. MovementLoopAddLocation(NPC, 689.99, -19.52, 197.91, 2, 0)
  97. MovementLoopAddLocation(NPC, 700.81, -19.53, 194.11, 2, 0)
  98. MovementLoopAddLocation(NPC, 706.5, -19.54, 192.05, 2, 0)
  99. MovementLoopAddLocation(NPC, 709.6, -19.52, 197.11, 2, 0)
  100. MovementLoopAddLocation(NPC, 723.3, -19.61, 192.39, 2, 0)
  101. MovementLoopAddLocation(NPC, 715.26, -19.93, 167.66, 2, 0)
  102. MovementLoopAddLocation(NPC, 712.74, -20.86, 161.78, 2, 1)
  103. MovementLoopAddLocation(NPC, 712.74, -20.86, 161.78, 2, 8,"EcologyEmotes")
  104. MovementLoopAddLocation(NPC, 712.74, -20.86, 161.78, 2, 1)
  105. MovementLoopAddLocation(NPC, 711.17, -19.89, 168.56, 2, 0)
  106. MovementLoopAddLocation(NPC, 706.09, -19.54, 190.22, 2, 0)
  107. MovementLoopAddLocation(NPC, 682.89, -19.33, 197.87, 2, 0)
  108. MovementLoopAddLocation(NPC, 677.83, -19.33, 184.59, 2, 0)
  109. MovementLoopAddLocation(NPC, 666.3, -18.35, 186.84, 2, 0)
  110. MovementLoopAddLocation(NPC, 637.49, -16.8, 194.18, 2, 0)
  111. MovementLoopAddLocation(NPC, 627.65, -16.46, 194.55, 2, 0)
  112. MovementLoopAddLocation(NPC, 626.2, -16.55, 194.05, 2, 0)
  113. MovementLoopAddLocation(NPC, 623.31, -15.72, 183.69, 2, 0)
  114. MovementLoopAddLocation(NPC, 620.85, -12.71, 159.02, 2, 0)
  115. MovementLoopAddLocation(NPC, 617.72, -12.21, 145.89, 2, 0)
  116. MovementLoopAddLocation(NPC, 585.38, -10.44, 147.7, 2, 0)
  117. MovementLoopAddLocation(NPC, 546.45, -10.56, 151.11, 2, 0)
  118. MovementLoopAddLocation(NPC, 546.18, -9.56, 134.86, 2, 0,"Door1")
  119. MovementLoopAddLocation(NPC, 555.19, -9.56, 134.75, 2, 0)
  120. MovementLoopAddLocation(NPC, 555.09, -9.56, 130.96, 2, 0)
  121. MovementLoopAddLocation(NPC, 555.09, -9.56, 130.96, 2, 8,"EcologyEmotes")
  122. MovementLoopAddLocation(NPC, 546.87, -8.54, 130.88, 2, 0)
  123. MovementLoopAddLocation(NPC, 538.95, -9.56, 130.4, 2, 0)
  124. MovementLoopAddLocation(NPC, 538.73, -9.56, 132.99, 2, 0)
  125. MovementLoopAddLocation(NPC, 546.39, -9.56, 136.3, 2, 0,"Door1")
  126. MovementLoopAddLocation(NPC, 545.51, -10.54, 150.86, 2, 0)
  127. MovementLoopAddLocation(NPC, 540.31, -10.49, 150.73, 2, 0)
  128. MovementLoopAddLocation(NPC, 528.67, -10.51, 150.52, 2, 0)
  129. MovementLoopAddLocation(NPC, 516.38, -10.45, 149.36, 2, 0)
  130. MovementLoopAddLocation(NPC, 493.67, -11.68, 143.72, 2, 0)
  131. MovementLoopAddLocation(NPC, 485.61, -11.43, 141.46, 2, 0)
  132. MovementLoopAddLocation(NPC, 486.19, -11.48, 139.06, 2, 0)
  133. MovementLoopAddLocation(NPC, 487.71, -11.5, 133.86, 2, 0)
  134. MovementLoopAddLocation(NPC, 489.21, -11.51, 129.2, 2, 0)
  135. MovementLoopAddLocation(NPC, 489.71, -11.52, 125.6, 2, 0)
  136. MovementLoopAddLocation(NPC, 488.82, -11.52, 121.46, 2, 0)
  137. MovementLoopAddLocation(NPC, 486.92, -11.52, 118.06, 2, 0)
  138. MovementLoopAddLocation(NPC, 483.44, -11.52, 115.16, 2, 0)
  139. MovementLoopAddLocation(NPC, 482.23, -11.27, 114.12, 2, 0)
  140. MovementLoopAddLocation(NPC, 483.51, -11.52, 116.17, 2, 0)
  141. MovementLoopAddLocation(NPC, 486.64, -11.53, 120.61, 2, 0)
  142. MovementLoopAddLocation(NPC, 488.84, -11.52, 124.02, 2, 0)
  143. MovementLoopAddLocation(NPC, 490.3, -11.5, 129.03, 2, 0)
  144. MovementLoopAddLocation(NPC, 491.13, -11.45, 135.98, 2, 0)
  145. MovementLoopAddLocation(NPC, 493.1, -12.32, 147.33, 2, 0)
  146. MovementLoopAddLocation(NPC, 471.7, -20.99, 193.86, 2, 0)
  147. end
  148. function Door1(NPC,Spawn)
  149. local door = GetSpawn(NPC, 2310200)
  150. -- if door == closed then
  151. UseWidget(door)
  152. -- end
  153. end