9
3

VelaMRev.lua 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/VelaMRev.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.14 07:10:58
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. waypoints(NPC)
  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, 12.43, 0, -8.14, 2, 1)
  25. MovementLoopAddLocation(NPC, 12.43, 0, -8.14, 2, 30,"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, 10.41, 0, -8.72, 2, 0)
  27. MovementLoopAddLocation(NPC, 9.42, 0, -11.26, 2, 0)
  28. MovementLoopAddLocation(NPC, 11.8, 0, -16.48, 2, 0)
  29. MovementLoopAddLocation(NPC, 18.99, -0.22, -21.2, 2, 0)
  30. MovementLoopAddLocation(NPC, 24.03, -0.81, -22.76, 2, 0)
  31. MovementLoopAddLocation(NPC, 30.74, -1.39, -22.92, 2, 0)
  32. MovementLoopAddLocation(NPC, 36.59, -1.48, -21.92, 2, 0)
  33. MovementLoopAddLocation(NPC, 39.62, -1.38, -16.36, 2, 0)
  34. MovementLoopAddLocation(NPC, 40.63, -1.45, -5.15, 2, 0)
  35. MovementLoopAddLocation(NPC, 36.57, -0.31, 7.03, 2, 0)
  36. MovementLoopAddLocation(NPC, 29.77, 0.74, 13.76, 2, 0)
  37. MovementLoopAddLocation(NPC, 24.08, 1.37, 19.58, 2, 0)
  38. MovementLoopAddLocation(NPC, 13.63, 2.22, 27.07, 2, 0)
  39. MovementLoopAddLocation(NPC, 6.36, 2.87, 31.15, 2, 0)
  40. MovementLoopAddLocation(NPC, 4.75, 3, 34.07, 2, 0)
  41. MovementLoopAddLocation(NPC, 9.06, 3, 39.71, 2, 1)
  42. MovementLoopAddLocation(NPC, 9.06, 3, 39.71, 2, 20,"EcologyEmotes")
  43. MovementLoopAddLocation(NPC, 8.87, 3, 41.31, 2, 0)
  44. MovementLoopAddLocation(NPC, 11.1, 3, 47.96, 2, 0)
  45. MovementLoopAddLocation(NPC, 12.2, 3, 49.77, 2, 0)
  46. MovementLoopAddLocation(NPC, 15.69, 3, 51.01, 2, 0)
  47. MovementLoopAddLocation(NPC, 22.75, 3, 53.09, 2, 0)
  48. MovementLoopAddLocation(NPC, 30.46, 3, 59.64, 2, 1)
  49. MovementLoopAddLocation(NPC, 30.46, 3, 59.64, 2, 20,"EcologyEmotes")
  50. MovementLoopAddLocation(NPC, 26.71, 3, 58.61, 2, 0)
  51. MovementLoopAddLocation(NPC, 22.74, 3, 55.11, 2, 0)
  52. MovementLoopAddLocation(NPC, 19.3, 3, 52, 2, 0)
  53. MovementLoopAddLocation(NPC, 12.96, 3, 51.65, 2, 0)
  54. MovementLoopAddLocation(NPC, 6.14, 2.99, 44.79, 2, 0)
  55. MovementLoopAddLocation(NPC, 3.73, 3, 37.84, 2, 0)
  56. MovementLoopAddLocation(NPC, 2.85, 3, 35.26, 2, 0)
  57. MovementLoopAddLocation(NPC, 7.51, 2.83, 27.62, 2, 0)
  58. MovementLoopAddLocation(NPC, 16.48, 1.84, 23.54, 2, 0)
  59. MovementLoopAddLocation(NPC, 21.5, 1.41, 18.96, 2, 0)
  60. MovementLoopAddLocation(NPC, 27.08, 0.78, 11.81, 2, 0)
  61. MovementLoopAddLocation(NPC, 33.63, -0.57, 3.57, 2, 0)
  62. MovementLoopAddLocation(NPC, 36.27, -1.28, -3.52, 2, 0)
  63. MovementLoopAddLocation(NPC, 36.58, -1.4, -13.16, 2, 2)
  64. MovementLoopAddLocation(NPC, 34.03, -1.13, -14.1, 2, 0)
  65. MovementLoopAddLocation(NPC, 30.98, -1.15, -15.54, 2, 1)
  66. MovementLoopAddLocation(NPC, 30.98, -1.15, -15.54, 2, 30,"EcologyEmotes")
  67. MovementLoopAddLocation(NPC, 31.42, -1.23, -13.45, 2, 1)
  68. MovementLoopAddLocation(NPC, 31.42, -1.23, -13.45, 2, 10,"EcologyEmotes")
  69. MovementLoopAddLocation(NPC, 32.95, -1.23, -14.21, 2, 2)
  70. MovementLoopAddLocation(NPC, 36.46, -1.38, -13.73, 2, 0)
  71. MovementLoopAddLocation(NPC, 37.17, -1.37, -15.76, 2, 0)
  72. MovementLoopAddLocation(NPC, 35.62, -1.25, -20.12, 2, 0)
  73. MovementLoopAddLocation(NPC, 29.31, -1.25, -20.83, 2, 0)
  74. MovementLoopAddLocation(NPC, 23.7, -0.67, -20.18, 2, 0)
  75. MovementLoopAddLocation(NPC, 16.84, 0, -17.25, 2, 0)
  76. MovementLoopAddLocation(NPC, 12.35, 0, -3.4, 2, 0)
  77. MovementLoopAddLocation(NPC, 13.6, 0, -2.11, 2, 1)
  78. MovementLoopAddLocation(NPC, 13.6, 0, -2.11, 2, 12,"EcologyEmotes")
  79. end
  80. function Door1(NPC,Spawn)
  81. local door = GetSpawn(NPC, 1380080)
  82. UseWidget(door)
  83. end