9
3

ogrady.lua 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. --[[
  2. Script Name : ogrady.lua
  3. Script Purpose : Waypoint Path for ogrady.lua
  4. Script Author : Devn00b
  5. Script Date : 04/15/2020 04:50:27 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, 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 respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 497.44, -20.66, -283.6, 2, 0)
  25. MovementLoopAddLocation(NPC, 447.99, -20.47, -256.71, 2, 0)
  26. MovementLoopAddLocation(NPC, 423.18, -20.09, -274.01, 2, 0)
  27. MovementLoopAddLocation(NPC, 397.02, -17.65, -276.89, 2, 0)
  28. MovementLoopAddLocation(NPC, 378.4, -17.56, -271.47, 2, 0)
  29. MovementLoopAddLocation(NPC, 362.39, -18.11, -255.28, 2, 0)
  30. MovementLoopAddLocation(NPC, 337.84, -18.11, -232.01, 2, 0)
  31. MovementLoopAddLocation(NPC, 322.44, -22.48, -192.45, 2, 0)
  32. MovementLoopAddLocation(NPC, 318.76, -22.44, -182.93, 2, 0)
  33. MovementLoopAddLocation(NPC, 304.02, -23.88, -168.72, 2, 0)
  34. MovementLoopAddLocation(NPC, 287.89, -19.11, -149.9, 2, 0)
  35. MovementLoopAddLocation(NPC, 283.69, -18.75, -143.58, 2, 0)
  36. MovementLoopAddLocation(NPC, 294.59, -19.04, -119.83, 2, 0)
  37. MovementLoopAddLocation(NPC, 287.43, -17.96, -120.11, 2, 0)
  38. MovementLoopAddLocation(NPC, 281.36, -17.95, -122.03, 2, 0)
  39. MovementLoopAddLocation(NPC, 274.87, -17.95, -124.46, 2, 0)
  40. MovementLoopAddLocation(NPC, 271.92, -17.95, -114.92, 2, 0)
  41. MovementLoopAddLocation(NPC, 273.08, -17.95, -116.46, 2, 0)
  42. MovementLoopAddLocation(NPC, 288.49, -18.49, -111.4, 2, 0)
  43. MovementLoopAddLocation(NPC, 268.46, -18.66, -94.67, 2, 0)
  44. MovementLoopAddLocation(NPC, 258.15, -20.74, -52.39, 2, 0)
  45. MovementLoopAddLocation(NPC, 263.87, -21.13, -29.2, 2, 0)
  46. MovementLoopAddLocation(NPC, 300.65, -21.22, -44.68, 2, 0)
  47. MovementLoopAddLocation(NPC, 326.92, -21.21, -14, 2, 0)
  48. MovementLoopAddLocation(NPC, 396.25, -16.8, -14.71, 2, 0)
  49. MovementLoopAddLocation(NPC, 324.19, -21.36, -15.29, 2, 0)
  50. MovementLoopAddLocation(NPC, 303.47, -21.26, 4.75, 2, 0)
  51. MovementLoopAddLocation(NPC, 254.89, -21.39, -18.92, 2, 0)
  52. MovementLoopAddLocation(NPC, 251.52, -19.86, 35.77, 2, 0)
  53. MovementLoopAddLocation(NPC, 263.5, -16.23, 66.55, 2, 0)
  54. MovementLoopAddLocation(NPC, 285.68, -12.87, 80.81, 2, 0)
  55. MovementLoopAddLocation(NPC, 263.5, -16.23, 66.55, 2, 0)
  56. MovementLoopAddLocation(NPC, 251.52, -19.86, 35.77, 2, 0)
  57. MovementLoopAddLocation(NPC, 254.89, -21.39, -18.92, 2, 0)
  58. MovementLoopAddLocation(NPC, 303.47, -21.26, 4.75, 2, 0)
  59. MovementLoopAddLocation(NPC, 324.19, -21.36, -15.29, 2, 0)
  60. MovementLoopAddLocation(NPC, 396.25, -16.8, -14.71, 2, 0)
  61. MovementLoopAddLocation(NPC, 326.92, -21.21, -14, 2, 0)
  62. MovementLoopAddLocation(NPC, 300.65, -21.22, -44.68, 2, 0)
  63. MovementLoopAddLocation(NPC, 263.87, -21.13, -29.2, 2, 0)
  64. MovementLoopAddLocation(NPC, 258.15, -20.74, -52.39, 2, 0)
  65. MovementLoopAddLocation(NPC, 268.46, -18.66, -94.67, 2, 0)
  66. MovementLoopAddLocation(NPC, 288.49, -18.49, -111.4, 2, 0)
  67. MovementLoopAddLocation(NPC, 273.08, -17.95, -116.46, 2, 0)
  68. MovementLoopAddLocation(NPC, 271.92, -17.95, -114.92, 2, 0)
  69. MovementLoopAddLocation(NPC, 274.87, -17.95, -124.46, 2, 0)
  70. MovementLoopAddLocation(NPC, 281.36, -17.95, -122.03, 2, 0)
  71. MovementLoopAddLocation(NPC, 287.43, -17.96, -120.11, 2, 0)
  72. MovementLoopAddLocation(NPC, 294.59, -19.04, -119.83, 2, 0)
  73. MovementLoopAddLocation(NPC, 283.69, -18.75, -143.58, 2, 0)
  74. MovementLoopAddLocation(NPC, 287.89, -19.11, -149.9, 2, 0)
  75. MovementLoopAddLocation(NPC, 304.02, -23.88, -168.72, 2, 0)
  76. MovementLoopAddLocation(NPC, 318.76, -22.44, -182.93, 2, 0)
  77. MovementLoopAddLocation(NPC, 322.44, -22.48, -192.45, 2, 0)
  78. MovementLoopAddLocation(NPC, 337.84, -18.11, -232.01, 2, 0)
  79. MovementLoopAddLocation(NPC, 362.39, -18.11, -255.28, 2, 0)
  80. MovementLoopAddLocation(NPC, 378.4, -17.56, -271.47, 2, 0)
  81. MovementLoopAddLocation(NPC, 397.02, -17.65, -276.89, 2, 0)
  82. MovementLoopAddLocation(NPC, 423.18, -20.09, -274.01, 2, 0)
  83. MovementLoopAddLocation(NPC, 447.99, -20.47, -256.71, 2, 0)
  84. MovementLoopAddLocation(NPC, 497.44, -20.66, -283.6, 2, 0)
  85. end