merriou.lua 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --[[
  2. Script Name : merriou.lua
  3. Script Purpose : Waypoint Path for merriou.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 06:01:50 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, 5, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericRaceCheckHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericRaceCheckCallout(NPC, Spawn, faction)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 678.69, -19.63, 101.23, 2, 0)
  25. MovementLoopAddLocation(NPC, 668.32, -21.03, 102.1, 2, 0)
  26. MovementLoopAddLocation(NPC, 671.73, -21.21, 136.74, 2, 0)
  27. MovementLoopAddLocation(NPC, 683.14, -20.65, 157.84, 2, 0)
  28. MovementLoopAddLocation(NPC, 718.83, -19.46, 181.31, 2, 0)
  29. MovementLoopAddLocation(NPC, 725.44, -19.96, 187.48, 2, 0)
  30. MovementLoopAddLocation(NPC, 774.53, -21.03, 177.54, 2, 0)
  31. MovementLoopAddLocation(NPC, 716.6, -19.52, 195.64, 2, 0)
  32. MovementLoopAddLocation(NPC, 707.24, -19.53, 194.07, 2, 0)
  33. MovementLoopAddLocation(NPC, 692.01, -19.52, 198.72, 2, 0)
  34. MovementLoopAddLocation(NPC, 691.55, -19.52, 199.22, 2, 0)
  35. MovementLoopAddLocation(NPC, 679.65, -19.76, 221.96, 2, 0)
  36. MovementLoopAddLocation(NPC, 621.24, -18.53, 235.62, 2, 0)
  37. MovementLoopAddLocation(NPC, 569.7, -17.78, 245.98, 2, 0)
  38. MovementLoopAddLocation(NPC, 468.6, -21.37, 241.47, 2, 0)
  39. MovementLoopAddLocation(NPC, 462.58, -22.18, 236.94, 2, 0)
  40. MovementLoopAddLocation(NPC, 450.92, -19.23, 195.43, 2, 1)
  41. MovementLoopAddLocation(NPC, 450.92, -19.23, 195.43, 2, 8,"EcologyEmotes")
  42. MovementLoopAddLocation(NPC, 462.58, -22.18, 236.94, 2, 0)
  43. MovementLoopAddLocation(NPC, 468.6, -21.37, 241.47, 2, 0)
  44. MovementLoopAddLocation(NPC, 569.7, -17.78, 245.98, 2, 0)
  45. MovementLoopAddLocation(NPC, 621.24, -18.53, 235.62, 2, 0)
  46. MovementLoopAddLocation(NPC, 679.65, -19.76, 221.96, 2, 0)
  47. MovementLoopAddLocation(NPC, 691.55, -19.52, 199.22, 2, 0)
  48. MovementLoopAddLocation(NPC, 692.01, -19.52, 198.72, 2, 0)
  49. MovementLoopAddLocation(NPC, 707.24, -19.53, 194.07, 2, 0)
  50. MovementLoopAddLocation(NPC, 716.6, -19.52, 195.64, 2, 0)
  51. MovementLoopAddLocation(NPC, 774.53, -21.03, 177.54, 2, 1)
  52. MovementLoopAddLocation(NPC, 774.53, -21.03, 177.54, 2, 8,"EcologyEmotes")
  53. MovementLoopAddLocation(NPC, 725.44, -19.96, 187.48, 2, 0)
  54. MovementLoopAddLocation(NPC, 718.83, -19.46, 181.31, 2, 0)
  55. MovementLoopAddLocation(NPC, 683.14, -20.65, 157.84, 2, 0)
  56. MovementLoopAddLocation(NPC, 671.73, -21.21, 136.74, 2, 0)
  57. MovementLoopAddLocation(NPC, 668.32, -21.03, 102.1, 2, 1)
  58. MovementLoopAddLocation(NPC, 668.32, -21.03, 102.1, 2, 8,"EcologyEmotes")
  59. MovementLoopAddLocation(NPC, 668.32, -21.03, 102.1, 2, 1)
  60. MovementLoopAddLocation(NPC, 678.69, -19.63, 101.23, 2, 1)
  61. MovementLoopAddLocation(NPC, 678.69, -19.63, 101.23, 2, 7,"EcologyEmotes")
  62. end