ThignatzDustinia.lua 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/ThignatzDustinia.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.28 03:10:00
  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. 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, 21.06, 2.9, 64.87, 2, 0)
  25. MovementLoopAddLocation(NPC, 25, 3, 64.48, 2, 0)
  26. MovementLoopAddLocation(NPC, 27.25, 3, 58.49, 2, 0)
  27. MovementLoopAddLocation(NPC, 29.66, 3, 56.87, 2, 0)
  28. MovementLoopAddLocation(NPC, 29.02, 3, 55.16, 2, 0)
  29. MovementLoopAddLocation(NPC, 29.02, 3, 55.16, 2, 1)
  30. MovementLoopAddLocation(NPC, 29.02, 3, 55.16, 2, 20,"EcologyEmotes")
  31. MovementLoopAddLocation(NPC, 30.6, 3, 54.2, 2, 0)
  32. MovementLoopAddLocation(NPC, 38.07, 3, 49.89, 2, 0)
  33. MovementLoopAddLocation(NPC, 41.56, 3, 48.95, 2, 0)
  34. MovementLoopAddLocation(NPC, 47.87, 3, 51.5, 2, 1)
  35. MovementLoopAddLocation(NPC, 47.87, 3, 51.5, 2, 20,"EcologyEmotes")
  36. MovementLoopAddLocation(NPC, 45.29, 3, 50.59, 2, 0)
  37. MovementLoopAddLocation(NPC, 43.79, 3, 50.07, 2, 0)
  38. MovementLoopAddLocation(NPC, 40.87, 3, 51.42, 2, 0)
  39. MovementLoopAddLocation(NPC, 36.78, 3, 53.58, 2, 0)
  40. MovementLoopAddLocation(NPC, 30.85, 2.98, 48.01, 2, 0)
  41. MovementLoopAddLocation(NPC, 25.42, 2.92, 40.54, 2, 0)
  42. MovementLoopAddLocation(NPC, 22.99, 2.92, 37.18, 2, 0)
  43. MovementLoopAddLocation(NPC, 19.47, 2.92, 35.29, 2, 0)
  44. MovementLoopAddLocation(NPC, 12.7, 2.92, 38.17, 2, 0)
  45. MovementLoopAddLocation(NPC, 12.21, 2.92, 39.74, 2, 1)
  46. MovementLoopAddLocation(NPC, 12.21, 2.92, 39.74, 2, 20,"EcologyEmotes")
  47. MovementLoopAddLocation(NPC, 13.13, 2.92, 37.51, 2, 0)
  48. MovementLoopAddLocation(NPC, 17.09, 2.92, 35.14, 2, 0)
  49. MovementLoopAddLocation(NPC, 21.7, 2.92, 36.63, 2, 0)
  50. MovementLoopAddLocation(NPC, 29.06, 2.92, 39.17, 2, 0)
  51. MovementLoopAddLocation(NPC, 33.6, 2.97, 45.64, 2, 0)
  52. MovementLoopAddLocation(NPC, 33.94, 3, 51.12, 2, 0)
  53. MovementLoopAddLocation(NPC, 32.73, 3, 55.95, 2, 0)
  54. MovementLoopAddLocation(NPC, 31.65, 3, 57.14, 2, 0)
  55. MovementLoopAddLocation(NPC, 34.03, 3, 60.78, 2, 0)
  56. MovementLoopAddLocation(NPC, 34.39, 3, 59.24, 2, 1)
  57. MovementLoopAddLocation(NPC, 34.39, 3, 59.24, 2, 20,"EcologyEmotes")
  58. MovementLoopAddLocation(NPC, 33.84, 3, 60.46, 2, 0)
  59. MovementLoopAddLocation(NPC, 30.61, 3, 61.49, 2, 0)
  60. MovementLoopAddLocation(NPC, 24.29, 3, 61.02, 2, 0)
  61. MovementLoopAddLocation(NPC, 19.21, 3.02, 65.83, 2, 1)
  62. MovementLoopAddLocation(NPC, 19.21, 3.02, 65.83, 2, 30,"EcologyEmotes")
  63. end