awilddogPath2.lua 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/awilddogPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.26 09:11:19
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, -9.22, -1.64, 76.17, 2, MakeRandomInt(8,15))
  21. MovementLoopAddLocation(NPC, -9.22, -1.64, 76.17, 2, 0)
  22. MovementLoopAddLocation(NPC, -7.89, -1.64, 70.42, 2, 0)
  23. MovementLoopAddLocation(NPC, -8.24, -2.17, 66.23, 2, 0)
  24. MovementLoopAddLocation(NPC, -8.18, -2.52, 63.68, 2, 0)
  25. MovementLoopAddLocation(NPC, -7.57, -2.66, 60.06, 2, 0)
  26. MovementLoopAddLocation(NPC, -10.74, -2.52, 54.67, 2, 0)
  27. MovementLoopAddLocation(NPC, -12.18, -2.52, 53.05, 2, MakeRandomInt(8,15))
  28. MovementLoopAddLocation(NPC, -12.18, -2.52, 53.05, 2, 0)
  29. MovementLoopAddLocation(NPC, -9.63, -2.52, 55.28, 2, 0)
  30. MovementLoopAddLocation(NPC, -8.48, -2.56, 57.9, 2, 0)
  31. MovementLoopAddLocation(NPC, -8.34, -2.45, 64.15, 2, 0)
  32. MovementLoopAddLocation(NPC, -7.74, -1.64, 73.05, 2, 0)
  33. MovementLoopAddLocation(NPC, -11.32, -1.54, 78.58, 2, MakeRandomInt(8,15))
  34. MovementLoopAddLocation(NPC, -11.32, -1.54, 78.58, 2, 0)
  35. MovementLoopAddLocation(NPC, -9.2, -1.64, 77.18, 2, 0)
  36. MovementLoopAddLocation(NPC, -3.97, -1.51, 77.5, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, -3.97, -1.51, 77.5, 2, 0)
  38. MovementLoopAddLocation(NPC, -8.52, -1.64, 77.61, 2, 0)
  39. MovementLoopAddLocation(NPC, -13.13, -1.57, 80.19, 2, 0)
  40. MovementLoopAddLocation(NPC, -19.57, -2.22, 83.37, 2, MakeRandomInt(8,15))
  41. MovementLoopAddLocation(NPC, -19.57, -2.22, 83.37, 2, 0)
  42. MovementLoopAddLocation(NPC, -13.24, -1.57, 80.44, 2, 0)
  43. MovementLoopAddLocation(NPC, -8.81, -1.64, 74.49, 2, 0)
  44. MovementLoopAddLocation(NPC, -8.43, -1.64, 72.53, 2, MakeRandomInt(8,15))
  45. MovementLoopAddLocation(NPC, -8.43, -1.64, 72.53, 2, 0)
  46. MovementLoopAddLocation(NPC, -6.35, -1.64, 75.92, 2, MakeRandomInt(8,15))
  47. MovementLoopAddLocation(NPC, -6.35, -1.64, 75.92, 2, 0)
  48. MovementLoopAddLocation(NPC, -7.51, -1.89, 68.01, 2, MakeRandomInt(8,15))
  49. MovementLoopAddLocation(NPC, -7.51, -1.89, 68.01, 2, 0)
  50. MovementLoopAddLocation(NPC, -7.96, -1.64, 74.98, 2, 0)
  51. MovementLoopAddLocation(NPC, -13.25, -1.57, 79.55, 2, 0)
  52. MovementLoopAddLocation(NPC, -21.85, -2.42, 83.5, 2, 0)
  53. MovementLoopAddLocation(NPC, -27.53, -2.47, 86.98, 2, MakeRandomInt(8,15))
  54. MovementLoopAddLocation(NPC, -27.53, -2.47, 86.98, 2, 0)
  55. MovementLoopAddLocation(NPC, -20.81, -2.31, 85.58, 2, MakeRandomInt(8,15))
  56. MovementLoopAddLocation(NPC, -20.81, -2.31, 85.58, 2, 0)
  57. MovementLoopAddLocation(NPC, -25.42, -2.47, 85.52, 2, MakeRandomInt(8,15))
  58. MovementLoopAddLocation(NPC, -25.42, -2.47, 85.52, 2, 0)
  59. MovementLoopAddLocation(NPC, -14.14, -1.6, 81.65, 2, 0)
  60. end