lawler.lua 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. --[[
  2. Script Name : lawler.lua
  3. Script Purpose : Waypoint Path for lawler.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 03:26:50 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericGuardHail(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 390.31, -20.28, 212.44, 2, 7)
  22. MovementLoopAddLocation(NPC, 416.32, -20.49, 225.26, 2, 0)
  23. MovementLoopAddLocation(NPC, 434.91, -20.44, 237.62, 2, 0)
  24. MovementLoopAddLocation(NPC, 476.86, -20.77, 242.05, 2, 0)
  25. MovementLoopAddLocation(NPC, 511.68, -19.18, 245.67, 2, 0)
  26. MovementLoopAddLocation(NPC, 551.78, -17.71, 246.63, 2, 0)
  27. MovementLoopAddLocation(NPC, 555.72, -17.09, 232.97, 2, 0)
  28. MovementLoopAddLocation(NPC, 556.39, -15.01, 215.45, 2, 0)
  29. MovementLoopAddLocation(NPC, 554.38, -15.13, 213.99, 2, 0)
  30. MovementLoopAddLocation(NPC, 522.54, -15.17, 211.74, 2, 0)
  31. MovementLoopAddLocation(NPC, 475.37, -21.03, 197.27, 2, 0)
  32. MovementLoopAddLocation(NPC, 461.4, -21.08, 209.32, 2, 0)
  33. MovementLoopAddLocation(NPC, 448.76, -21.59, 234.24, 2, 0)
  34. MovementLoopAddLocation(NPC, 441.29, -20.97, 239.13, 2, 0)
  35. MovementLoopAddLocation(NPC, 416.22, -20.49, 225.52, 2, 0)
  36. MovementLoopAddLocation(NPC, 380.53, -20.24, 207.18, 2, 3)
  37. end
  38. --[[
  39. function waypoints(NPC)
  40. MovementLoopAddLocation(NPC, 382.78, -20.35, 209.21, 2, 30)
  41. MovementLoopAddLocation(NPC, 416.29, -20.5, 224.76, 2, 0)
  42. MovementLoopAddLocation(NPC, 422.42, -20.16, 228.13, 2, 0)
  43. MovementLoopAddLocation(NPC, 433.73, -20.36, 235.98, 2, 0)
  44. MovementLoopAddLocation(NPC, 499.78, -19.76, 243.88, 2, 0)
  45. MovementLoopAddLocation(NPC, 553.41, -17.75, 245.22, 2, 0)
  46. MovementLoopAddLocation(NPC, 555.48, -16.99, 229.04, 2, 0)
  47. MovementLoopAddLocation(NPC, 556.3, -15.08, 217.76, 2, 0)
  48. MovementLoopAddLocation(NPC, 556.2, -14.97, 216.25, 2, 0)
  49. MovementLoopAddLocation(NPC, 556.17, -15.43, 207.6, 2, 0)
  50. MovementLoopAddLocation(NPC, 498.03, -16.24, 203.57, 2, 0)
  51. MovementLoopAddLocation(NPC, 476.51, -20.95, 195.22, 2, 0)
  52. MovementLoopAddLocation(NPC, 442.44, -20.58, 173.74, 2, 0)
  53. MovementLoopAddLocation(NPC, 429.93, -20.81, 184.5, 2, 0)
  54. MovementLoopAddLocation(NPC, 420.87, -20.27, 192.41, 2, 0)
  55. MovementLoopAddLocation(NPC, 390.1, -20.39, 189.13, 2, 0)
  56. MovementLoopAddLocation(NPC, 380.86, -20.25, 207.69, 2, 0)
  57. MovementLoopAddLocation(NPC, 390.1, -20.39, 189.13, 2, 0)
  58. MovementLoopAddLocation(NPC, 420.87, -20.27, 192.41, 2, 0)
  59. MovementLoopAddLocation(NPC, 429.93, -20.81, 184.5, 2, 0)
  60. MovementLoopAddLocation(NPC, 442.44, -20.58, 173.74, 2, 0)
  61. MovementLoopAddLocation(NPC, 476.51, -20.95, 195.22, 2, 0)
  62. MovementLoopAddLocation(NPC, 498.03, -16.24, 203.57, 2, 0)
  63. MovementLoopAddLocation(NPC, 556.17, -15.43, 207.6, 2, 0)
  64. MovementLoopAddLocation(NPC, 556.2, -14.97, 216.25, 2, 0)
  65. MovementLoopAddLocation(NPC, 556.3, -15.08, 217.76, 2, 0)
  66. MovementLoopAddLocation(NPC, 555.48, -16.99, 229.04, 2, 0)
  67. MovementLoopAddLocation(NPC, 553.41, -17.75, 245.22, 2, 0)
  68. MovementLoopAddLocation(NPC, 499.78, -19.76, 243.88, 2, 0)
  69. MovementLoopAddLocation(NPC, 433.73, -20.36, 235.98, 2, 0)
  70. MovementLoopAddLocation(NPC, 422.42, -20.16, 228.13, 2, 0)
  71. MovementLoopAddLocation(NPC, 416.29, -20.5, 224.76, 2, 0)
  72. MovementLoopAddLocation(NPC, 382.78, -20.35, 209.21, 2, 0)
  73. end
  74. ]]--