mcduffie.lua 4.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. --[[
  2. Script Name : mcduffie.lua
  3. Script Purpose : Waypoint Path for mcduffie.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 09:50:04 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. dofile("SpawnScripts/Generic/ExpelNonCitizen.lua")
  10. function spawn(NPC)
  11. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  12. waypoints(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. NonCitizen(NPC,Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 253.33, -20.62, -2.19, 2, 0)
  22. MovementLoopAddLocation(NPC, 250.77, -19.51, 39.19, 2, 0)
  23. MovementLoopAddLocation(NPC, 260.85, -17.76, 57.91, 2, 0)
  24. MovementLoopAddLocation(NPC, 287.28, -12.76, 81.92, 2, 0)
  25. MovementLoopAddLocation(NPC, 289.58, -13.18, 103.87, 2, 0)
  26. MovementLoopAddLocation(NPC, 293.33, -14.07, 120.93, 2, 0)
  27. MovementLoopAddLocation(NPC, 300.81, -16.32, 144.09, 2, 0)
  28. MovementLoopAddLocation(NPC, 309.1, -17.86, 157.64, 2, 0)
  29. MovementLoopAddLocation(NPC, 318.85, -18.07, 165.16, 2, 0)
  30. MovementLoopAddLocation(NPC, 331.02, -18.8, 168.64, 2, 0)
  31. MovementLoopAddLocation(NPC, 341.48, -19.59, 167.2, 2, 0)
  32. MovementLoopAddLocation(NPC, 352.36, -20.04, 163.58, 2, 0)
  33. MovementLoopAddLocation(NPC, 363.03, -19.99, 156.96, 2, 0)
  34. MovementLoopAddLocation(NPC, 372.58, -20.51, 147.33, 2, 0)
  35. MovementLoopAddLocation(NPC, 379.31, -20.72, 135.98, 2, 0)
  36. MovementLoopAddLocation(NPC, 391.28, -19.75, 110.36, 2, 0)
  37. MovementLoopAddLocation(NPC, 407.96, -14.17, 74.33, 2, 0)
  38. MovementLoopAddLocation(NPC, 410.51, -13.91, 67.96, 2, 0)
  39. MovementLoopAddLocation(NPC, 411.36, -13.81, 60.04, 2, 0)
  40. MovementLoopAddLocation(NPC, 400.94, -14.26, 37.6, 2, 0)
  41. MovementLoopAddLocation(NPC, 397.27, -15.01, 23.14, 2, 0)
  42. MovementLoopAddLocation(NPC, 392.54, -17.07, -6.66, 2, 0)
  43. MovementLoopAddLocation(NPC, 392.07, -17.5, -15.97, 2, 0)
  44. MovementLoopAddLocation(NPC, 385.24, -18.51, -16.73, 2, 0)
  45. MovementLoopAddLocation(NPC, 377.06, -19.49, -17.35, 2, 0)
  46. MovementLoopAddLocation(NPC, 367.33, -20.53, -17.55, 2, 0)
  47. MovementLoopAddLocation(NPC, 354.98, -21.49, -14.98, 2, 0)
  48. MovementLoopAddLocation(NPC, 357.11, -20.73, -3.39, 2, 0)
  49. MovementLoopAddLocation(NPC, 369.75, -20.82, 15.07, 2, 0)
  50. MovementLoopAddLocation(NPC, 376.81, -20.78, 24.26, 2, 0)
  51. MovementLoopAddLocation(NPC, 365.74, -20.84, 13.26, 2, 0)
  52. MovementLoopAddLocation(NPC, 355.24, -20.93, 2.89, 2, 0)
  53. MovementLoopAddLocation(NPC, 330.75, -21.5, -18.34, 2, 0)
  54. MovementLoopAddLocation(NPC, 355.24, -20.93, 2.89, 2, 0)
  55. MovementLoopAddLocation(NPC, 365.74, -20.84, 13.26, 2, 0)
  56. MovementLoopAddLocation(NPC, 376.81, -20.78, 24.26, 2, 0)
  57. MovementLoopAddLocation(NPC, 369.75, -20.82, 15.07, 2, 0)
  58. MovementLoopAddLocation(NPC, 357.11, -20.73, -3.39, 2, 0)
  59. MovementLoopAddLocation(NPC, 354.98, -21.49, -14.98, 2, 0)
  60. MovementLoopAddLocation(NPC, 367.33, -20.53, -17.55, 2, 0)
  61. MovementLoopAddLocation(NPC, 377.06, -19.49, -17.35, 2, 0)
  62. MovementLoopAddLocation(NPC, 385.24, -18.51, -16.73, 2, 0)
  63. MovementLoopAddLocation(NPC, 392.07, -17.5, -15.97, 2, 0)
  64. MovementLoopAddLocation(NPC, 392.54, -17.07, -6.66, 2, 0)
  65. MovementLoopAddLocation(NPC, 397.27, -15.01, 23.14, 2, 0)
  66. MovementLoopAddLocation(NPC, 400.94, -14.26, 37.6, 2, 0)
  67. MovementLoopAddLocation(NPC, 411.36, -13.81, 60.04, 2, 0)
  68. MovementLoopAddLocation(NPC, 410.51, -13.91, 67.96, 2, 0)
  69. MovementLoopAddLocation(NPC, 407.96, -14.17, 74.33, 2, 0)
  70. MovementLoopAddLocation(NPC, 391.28, -19.75, 110.36, 2, 0)
  71. MovementLoopAddLocation(NPC, 379.31, -20.72, 135.98, 2, 0)
  72. MovementLoopAddLocation(NPC, 372.58, -20.51, 147.33, 2, 0)
  73. MovementLoopAddLocation(NPC, 363.03, -19.99, 156.96, 2, 0)
  74. MovementLoopAddLocation(NPC, 352.36, -20.04, 163.58, 2, 0)
  75. MovementLoopAddLocation(NPC, 341.48, -19.59, 167.2, 2, 0)
  76. MovementLoopAddLocation(NPC, 331.02, -18.8, 168.64, 2, 0)
  77. MovementLoopAddLocation(NPC, 318.85, -18.07, 165.16, 2, 0)
  78. MovementLoopAddLocation(NPC, 309.1, -17.86, 157.64, 2, 0)
  79. MovementLoopAddLocation(NPC, 300.81, -16.32, 144.09, 2, 0)
  80. MovementLoopAddLocation(NPC, 293.33, -14.07, 120.93, 2, 0)
  81. MovementLoopAddLocation(NPC, 289.58, -13.18, 103.87, 2, 0)
  82. MovementLoopAddLocation(NPC, 287.28, -12.76, 81.92, 2, 0)
  83. MovementLoopAddLocation(NPC, 260.85, -17.76, 57.91, 2, 0)
  84. MovementLoopAddLocation(NPC, 250.77, -19.51, 39.19, 2, 0)
  85. MovementLoopAddLocation(NPC, 253.33, -20.62, -2.19, 2, 0)
  86. end