cahptor.lua 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : cahptor.lua
  3. Script Purpose : Waypoint Path for cahptor.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 06:29:07 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, 676.56, -19.68, 225.59, 2, 6)
  22. MovementLoopAddLocation(NPC, 689.04, -19.52, 213.76, 2, 0)
  23. MovementLoopAddLocation(NPC, 692.62, -19.52, 204.89, 2, 0)
  24. MovementLoopAddLocation(NPC, 680.54, -19.44, 185.85, 2, 0)
  25. MovementLoopAddLocation(NPC, 658.19, -17.42, 187.66, 2, 0)
  26. MovementLoopAddLocation(NPC, 603.93, -15.65, 201.66, 2, 0)
  27. MovementLoopAddLocation(NPC, 560.74, -15.37, 210.22, 2, 0)
  28. MovementLoopAddLocation(NPC, 558.55, -16.7, 225.54, 2, 0)
  29. MovementLoopAddLocation(NPC, 566.75, -17.75, 241.09, 2, 0)
  30. MovementLoopAddLocation(NPC, 579.84, -17.92, 240.93, 2, 0)
  31. MovementLoopAddLocation(NPC, 612.32, -18.37, 235.94, 2, 0)
  32. MovementLoopAddLocation(NPC, 657.36, -19.28, 223.89, 2, 0)
  33. end
  34. --[[
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, 684.98, -20.52, 267.48, 2, 0)
  37. MovementLoopAddLocation(NPC, 673.17, -19.49, 229.65, 2, 0)
  38. MovementLoopAddLocation(NPC, 679.47, -19.74, 220.74, 2, 0)
  39. MovementLoopAddLocation(NPC, 687.3, -19.52, 214.86, 2, 0)
  40. MovementLoopAddLocation(NPC, 684.89, -19.4, 198.52, 2, 0)
  41. MovementLoopAddLocation(NPC, 699.29, -19.53, 194.03, 2, 0)
  42. MovementLoopAddLocation(NPC, 706.48, -19.53, 194.49, 2, 0)
  43. MovementLoopAddLocation(NPC, 779.39, -21.01, 180.01, 2, 0)
  44. MovementLoopAddLocation(NPC, 724.93, -19.8, 183.45, 2, 0)
  45. MovementLoopAddLocation(NPC, 685.04, -20.36, 163.73, 2, 0)
  46. MovementLoopAddLocation(NPC, 674.64, -21.1, 145.5, 2, 0)
  47. MovementLoopAddLocation(NPC, 677.14, -21.03, 143.08, 2, 0)
  48. MovementLoopAddLocation(NPC, 711.93, -20.36, 123.97, 2, 0)
  49. MovementLoopAddLocation(NPC, 677.14, -21.03, 143.08, 2, 0)
  50. MovementLoopAddLocation(NPC, 674.64, -21.1, 145.5, 2, 0)
  51. MovementLoopAddLocation(NPC, 685.04, -20.36, 163.73, 2, 0)
  52. MovementLoopAddLocation(NPC, 724.93, -19.8, 183.45, 2, 0)
  53. MovementLoopAddLocation(NPC, 779.39, -21.01, 180.01, 2, 0)
  54. MovementLoopAddLocation(NPC, 706.48, -19.53, 194.49, 2, 0)
  55. MovementLoopAddLocation(NPC, 699.29, -19.53, 194.03, 2, 0)
  56. MovementLoopAddLocation(NPC, 684.89, -19.4, 198.52, 2, 0)
  57. MovementLoopAddLocation(NPC, 687.3, -19.52, 214.86, 2, 0)
  58. MovementLoopAddLocation(NPC, 679.47, -19.74, 220.74, 2, 0)
  59. MovementLoopAddLocation(NPC, 673.17, -19.49, 229.65, 2, 0)
  60. MovementLoopAddLocation(NPC, 684.98, -20.52, 267.48, 2, 0)
  61. end
  62. ]]--