9
3

asludgewalkerhatchlingPath1.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/asludgewalkerhatchlingPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.08 04:12:40
  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, -40.67, 0.71, 47.92, 2, MakeRandomInt(3,6))
  21. MovementLoopAddLocation(NPC, -40.67, 0.71, 47.92, 2, 0)
  22. MovementLoopAddLocation(NPC, -32.66, -0.3, 47.77, 2, 0)
  23. MovementLoopAddLocation(NPC, -32.44, 0.07, 51.54, 2, 0)
  24. MovementLoopAddLocation(NPC, -32.29, 0.72, 77.62, 2, MakeRandomInt(3,6))
  25. MovementLoopAddLocation(NPC, -32.29, 0.72, 77.62, 2, 0)
  26. MovementLoopAddLocation(NPC, -32.09, -0.43, 67.14, 2, 0)
  27. MovementLoopAddLocation(NPC, -12.43, 0.62, 66.81, 2, 0)
  28. MovementLoopAddLocation(NPC, -12.36, 0.71, 62.86, 2, MakeRandomInt(3,6))
  29. MovementLoopAddLocation(NPC, -12.36, 0.71, 62.86, 2, 0)
  30. MovementLoopAddLocation(NPC, -13.61, -0.01, 75.17, 2, 0)
  31. MovementLoopAddLocation(NPC, -26.34, 0.71, 75.59, 2, MakeRandomInt(3,6))
  32. MovementLoopAddLocation(NPC, -26.34, 0.71, 75.59, 2, 0)
  33. MovementLoopAddLocation(NPC, -23.72, 0.71, 75.72, 2, 0)
  34. MovementLoopAddLocation(NPC, -22.6, -0.08, 68.46, 2, 0)
  35. MovementLoopAddLocation(NPC, -22.25, -0.17, 49.39, 2, MakeRandomInt(3,6))
  36. MovementLoopAddLocation(NPC, -22.25, -0.17, 49.39, 2, 0)
  37. MovementLoopAddLocation(NPC, -21.6, -0.66, 56.13, 2, 0)
  38. MovementLoopAddLocation(NPC, -26.75, -0.1, 56.62, 2, 0)
  39. MovementLoopAddLocation(NPC, -34.92, -0.31, 56.7, 2, 0)
  40. MovementLoopAddLocation(NPC, -41.69, 0.71, 56.44, 2, 0)
  41. end