9
3

marrising.lua 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. --[[
  2. Script Name : Marrising.lua
  3. Script Purpose : Waypoint Path for Marrising.lua
  4. Script Author : Devn00b
  5. Script Date : 04/10/2020 04:46:03 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. local TimeCheck = false
  10. local CalloutTimeCheck = false
  11. local FactionCalloutTimeCheck = false
  12. function spawn(NPC)
  13. waypoints(NPC)
  14. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. GenericEcologyHail(NPC, Spawn, faction)
  19. end
  20. function InRange(NPC,Spawn)
  21. GenericEcologyCallout(NPC, Spawn, faction)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 707.61, -19.46, 175.9, 2, 0)
  25. MovementLoopAddLocation(NPC, 713.7, -19.4, 179.73, 2, 0)
  26. MovementLoopAddLocation(NPC, 716.28, -19.45, 181.76, 2, 0)
  27. MovementLoopAddLocation(NPC, 718.4, -19.6, 184.27, 2, 0)
  28. MovementLoopAddLocation(NPC, 719.49, -19.64, 187.17, 2, 0)
  29. MovementLoopAddLocation(NPC, 719.53, -19.58, 190.1, 2, 0)
  30. MovementLoopAddLocation(NPC, 718.14, -19.55, 192.61, 2, 0)
  31. MovementLoopAddLocation(NPC, 715.25, -19.53, 194.33, 2, 0)
  32. MovementLoopAddLocation(NPC, 711.92, -19.53, 194.53, 2, 0)
  33. MovementLoopAddLocation(NPC, 708.96, -19.53, 193.61, 2, 0)
  34. MovementLoopAddLocation(NPC, 704.91, -19.53, 192.29, 2, 0)
  35. MovementLoopAddLocation(NPC, 692.42, -19.52, 195.54, 2, 0)
  36. MovementLoopAddLocation(NPC, 688.64, -19.52, 218.45, 2, 0)
  37. MovementLoopAddLocation(NPC, 632.1, -18.99, 231.92, 2, 0)
  38. MovementLoopAddLocation(NPC, 563.86, -17.76, 244.65, 2, 0)
  39. MovementLoopAddLocation(NPC, 561.11, -17.26, 233.98, 2, 0)
  40. MovementLoopAddLocation(NPC, 556.66, -14.99, 216.32, 2, 0)
  41. MovementLoopAddLocation(NPC, 550.9, -15.43, 208.24, 2, 0)
  42. MovementLoopAddLocation(NPC, 547.13, -15.4, 204.2, 2, 0)
  43. MovementLoopAddLocation(NPC, 547.26, -15.24, 199.45, 2, 0)
  44. MovementLoopAddLocation(NPC, 547.46, -13.6, 182.35, 2, 0)
  45. MovementLoopAddLocation(NPC, 547.24, -10.21, 163.68, 2, 0)
  46. MovementLoopAddLocation(NPC, 547.24, -10.1, 148.65, 2, 0)
  47. MovementLoopAddLocation(NPC, 541.54, -10.25, 149.2, 2, 0)
  48. MovementLoopAddLocation(NPC, 532.31, -10.34, 149.51, 2, 0)
  49. MovementLoopAddLocation(NPC, 523.91, -10.4, 148.71, 2, 0)
  50. MovementLoopAddLocation(NPC, 516.15, -10.43, 146.28, 2, 0)
  51. MovementLoopAddLocation(NPC, 502.44, -11.37, 141.98, 2, 0)
  52. MovementLoopAddLocation(NPC, 484.36, -11.51, 136.33, 2, 0)
  53. MovementLoopAddLocation(NPC, 469.76, -11.53, 131.51, 2, 0)
  54. MovementLoopAddLocation(NPC, 484.36, -11.51, 136.33, 2, 0)
  55. MovementLoopAddLocation(NPC, 502.44, -11.37, 141.98, 2, 0)
  56. MovementLoopAddLocation(NPC, 516.15, -10.43, 146.28, 2, 0)
  57. MovementLoopAddLocation(NPC, 523.91, -10.4, 148.71, 2, 0)
  58. MovementLoopAddLocation(NPC, 532.31, -10.34, 149.51, 2, 0)
  59. MovementLoopAddLocation(NPC, 541.54, -10.25, 149.2, 2, 0)
  60. MovementLoopAddLocation(NPC, 547.24, -10.1, 148.65, 2, 0)
  61. MovementLoopAddLocation(NPC, 547.24, -10.21, 163.68, 2, 0)
  62. MovementLoopAddLocation(NPC, 547.46, -13.6, 182.35, 2, 0)
  63. MovementLoopAddLocation(NPC, 547.26, -15.24, 199.45, 2, 0)
  64. MovementLoopAddLocation(NPC, 547.13, -15.4, 204.2, 2, 0)
  65. MovementLoopAddLocation(NPC, 550.9, -15.43, 208.24, 2, 0)
  66. MovementLoopAddLocation(NPC, 556.66, -14.99, 216.32, 2, 0)
  67. MovementLoopAddLocation(NPC, 561.11, -17.26, 233.98, 2, 0)
  68. MovementLoopAddLocation(NPC, 563.86, -17.76, 244.65, 2, 0)
  69. MovementLoopAddLocation(NPC, 632.1, -18.99, 231.92, 2, 0)
  70. MovementLoopAddLocation(NPC, 688.64, -19.52, 218.45, 2, 0)
  71. MovementLoopAddLocation(NPC, 692.42, -19.52, 195.54, 2, 0)
  72. MovementLoopAddLocation(NPC, 704.91, -19.53, 192.29, 2, 0)
  73. MovementLoopAddLocation(NPC, 708.96, -19.53, 193.61, 2, 0)
  74. MovementLoopAddLocation(NPC, 711.92, -19.53, 194.53, 2, 0)
  75. MovementLoopAddLocation(NPC, 715.25, -19.53, 194.33, 2, 0)
  76. MovementLoopAddLocation(NPC, 718.14, -19.55, 192.61, 2, 0)
  77. MovementLoopAddLocation(NPC, 719.53, -19.58, 190.1, 2, 0)
  78. MovementLoopAddLocation(NPC, 719.49, -19.64, 187.17, 2, 0)
  79. MovementLoopAddLocation(NPC, 718.4, -19.6, 184.27, 2, 7)
  80. MovementLoopAddLocation(NPC, 716.28, -19.45, 181.76, 2, 0)
  81. MovementLoopAddLocation(NPC, 713.7, -19.4, 179.73, 2, 0)
  82. MovementLoopAddLocation(NPC, 707.61, -19.46, 175.9, 2, 7)
  83. end