dawnsinger.lua 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : dawnsinger.lua
  3. Script Purpose : Waypoint Path for dawnsinger.lua
  4. Script Author : Devn00b
  5. Script Date : 07/31/2020 09:03:35 PM
  6. Script Notes : Locations collected from Live - Updated Dialogue 05/01/2022 Dorbin
  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, 513.51, -20.71, -284.46, 2, math.random(0,5))
  22. MovementLoopAddLocation(NPC, 554.79, -20.24, -356.04, 2, math.random(0,5))
  23. MovementLoopAddLocation(NPC, 574.86, -21.97, -358.57, 2, math.random(0,5))
  24. MovementLoopAddLocation(NPC, 643.52, -12.73, -371.19, 2, math.random(0,5))
  25. MovementLoopAddLocation(NPC, 654.75, -11.17, -395.86, 2, math.random(0,5))
  26. MovementLoopAddLocation(NPC, 683.87, -11.91, -390.24, 2, math.random(0,5))
  27. MovementLoopAddLocation(NPC, 688.47, -13.47, -374.35, 2, math.random(0,5))
  28. MovementLoopAddLocation(NPC, 646.06, -13.35, -359.15, 2, math.random(0,5))
  29. MovementLoopAddLocation(NPC, 645.35, -17.79, -328.64, 2, math.random(0,5))
  30. MovementLoopAddLocation(NPC, 651.42, -21.58, -307.12, 2, math.random(0,5))
  31. MovementLoopAddLocation(NPC, 647.38, -18.93, -262.7, 2, math.random(0,5))
  32. MovementLoopAddLocation(NPC, 631.82, -19.65, -257.29, 2, math.random(0,5))
  33. MovementLoopAddLocation(NPC, 628.44, -19.96, -255.61, 2, 1)
  34. MovementLoopAddLocation(NPC, 628.44, -19.96, -255.61, 2, math.random(8,20),"EcologyEmotes")
  35. MovementLoopAddLocation(NPC, 628.44, -19.96, -255.61, 2, 1)
  36. MovementLoopAddLocation(NPC, 640.68, -18.94, -258.81, 2, math.random(0,5))
  37. MovementLoopAddLocation(NPC, 652.34, -19.09, -269.21, 2, math.random(0,5))
  38. MovementLoopAddLocation(NPC, 685.73, -19.57, -279.16, 2, math.random(0,5))
  39. MovementLoopAddLocation(NPC, 699.86, -17.16, -328.13, 2, math.random(0,5))
  40. MovementLoopAddLocation(NPC, 718.42, -17.05, -329.92, 2, math.random(0,5))
  41. MovementLoopAddLocation(NPC, 744.29, -16.8, -316.96, 2, math.random(0,5))
  42. MovementLoopAddLocation(NPC, 772.71, -19, -330.81, 2, math.random(0,5))
  43. MovementLoopAddLocation(NPC, 744.29, -16.8, -316.96, 2, math.random(0,5))
  44. MovementLoopAddLocation(NPC, 718.42, -17.05, -329.92, 2, math.random(0,5))
  45. MovementLoopAddLocation(NPC, 699.86, -17.16, -328.13, 2, math.random(0,5))
  46. MovementLoopAddLocation(NPC, 685.73, -19.57, -279.16, 2, math.random(0,5))
  47. MovementLoopAddLocation(NPC, 652.34, -19.09, -269.21, 2, math.random(0,5))
  48. MovementLoopAddLocation(NPC, 640.68, -18.94, -258.81, 2, math.random(0,5))
  49. MovementLoopAddLocation(NPC, 628.44, -19.96, -255.61, 2, 20)
  50. MovementLoopAddLocation(NPC, 631.82, -19.65, -257.29, 2, math.random(0,5))
  51. MovementLoopAddLocation(NPC, 647.38, -18.93, -262.7, 2, math.random(0,5))
  52. MovementLoopAddLocation(NPC, 651.42, -21.58, -307.12, 2, math.random(0,5))
  53. MovementLoopAddLocation(NPC, 645.35, -17.79, -328.64, 2, math.random(0,5))
  54. MovementLoopAddLocation(NPC, 646.06, -13.35, -359.15, 2, math.random(0,5))
  55. MovementLoopAddLocation(NPC, 688.47, -13.47, -374.35, 2, math.random(0,5))
  56. MovementLoopAddLocation(NPC, 683.87, -11.91, -390.24, 2, math.random(0,5))
  57. MovementLoopAddLocation(NPC, 654.75, -11.17, -395.86, 2, math.random(0,5))
  58. MovementLoopAddLocation(NPC, 643.52, -12.73, -371.19, 2, math.random(0,5))
  59. MovementLoopAddLocation(NPC, 574.86, -21.97, -358.57, 2, math.random(0,5))
  60. MovementLoopAddLocation(NPC, 554.79, -20.24, -356.04, 2, math.random(0,5))
  61. MovementLoopAddLocation(NPC, 513.51, -20.71, -284.46, 2, math.random(0,5))
  62. end