Lushi.lua 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/Lushi.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.10.28 04:10:19
  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, -0.09, 3, 61.19, 2, 0)
  25. MovementLoopAddLocation(NPC, 1.77, 3, 65.01, 2, 0)
  26. MovementLoopAddLocation(NPC, 4.25, 3, 66.12, 2, 0)
  27. MovementLoopAddLocation(NPC, 10.98, 3, 68.77, 2, 0)
  28. MovementLoopAddLocation(NPC, 16.4, 3.01, 70.9, 2, 0)
  29. MovementLoopAddLocation(NPC, 28.12, 3, 71.15, 2, 0)
  30. MovementLoopAddLocation(NPC, 28.12, 3, 71.15, 2, 1)
  31. MovementLoopAddLocation(NPC, 28.12, 3, 71.15, 2, 20,"EcologyEmotes")
  32. MovementLoopAddLocation(NPC, 28.12, 3, 71.15, 2, 20,"EcologyEmotes")
  33. MovementLoopAddLocation(NPC, 27.73, 3, 70.1, 2, 0)
  34. MovementLoopAddLocation(NPC, 30.09, 3, 69.58, 2, 0)
  35. MovementLoopAddLocation(NPC, 35.19, 3, 70.16, 2, 0)
  36. MovementLoopAddLocation(NPC, 36.93, 3, 67.6, 2, 1)
  37. MovementLoopAddLocation(NPC, 36.93, 3, 67.6, 2, 25,"EcologyEmotes")
  38. MovementLoopAddLocation(NPC, 38.26, 3, 71.4, 2, 0)
  39. MovementLoopAddLocation(NPC, 39.62, 3, 73.96, 2, 0)
  40. MovementLoopAddLocation(NPC, 41.61, 3, 73.41, 2, 0)
  41. MovementLoopAddLocation(NPC, 53.02, 3, 66.59, 2, 0)
  42. MovementLoopAddLocation(NPC, 43.5, 3, 50.75, 2, 0)
  43. MovementLoopAddLocation(NPC, 42.75, 3, 49.63, 2, 0)
  44. MovementLoopAddLocation(NPC, 32.66, 3, 56.09, 2, 0)
  45. MovementLoopAddLocation(NPC, 29.14, 3, 60.11, 2, 0)
  46. MovementLoopAddLocation(NPC, 23.55, 3, 61.79, 2, 0)
  47. MovementLoopAddLocation(NPC, 20.09, 3, 69.23, 2, 0)
  48. MovementLoopAddLocation(NPC, 15.69, 3.01, 72.02, 2, 0)
  49. MovementLoopAddLocation(NPC, 7.54, 3, 69.92, 2, 0)
  50. MovementLoopAddLocation(NPC, 2.07, 3, 66.84, 2, 0)
  51. MovementLoopAddLocation(NPC, -0.61, 3, 65.25, 2, 0)
  52. MovementLoopAddLocation(NPC, -1.31, 3, 52.73, 2, 1)
  53. MovementLoopAddLocation(NPC, -1.31, 3, 52.73, 2, 20,"EcologyEmotes")
  54. MovementLoopAddLocation(NPC, -1.31, 3, 52.73, 2, 20,"EcologyEmotes")
  55. MovementLoopAddLocation(NPC, -0.59, 3.00, 55.49, 2, 0)
  56. MovementLoopAddLocation(NPC, 2, 3, 57.22, 2, 1)
  57. MovementLoopAddLocation(NPC, 2, 3, 57.22, 2, 20,"EcologyEmotes")
  58. MovementLoopAddLocation(NPC, 2, 3, 57.22, 2, 20,"EcologyEmotes")
  59. end