asludgewalkerhatchlingPath2.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/asludgewalkerhatchlingPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.08 04:12:34
  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, -42.08, 0.71, 75.62, 2, MakeRandomInt(3,6))
  21. MovementLoopAddLocation(NPC, -42.08, 0.71, 75.62, 2, 0)
  22. MovementLoopAddLocation(NPC, -32.78, -0.08, 75.27, 2, 0)
  23. MovementLoopAddLocation(NPC, -32.07, -0.49, 66.73, 2, 0)
  24. MovementLoopAddLocation(NPC, -23.58, 0.06, 66.57, 2, 0)
  25. MovementLoopAddLocation(NPC, -22.67, 0.05, 62.41, 2, MakeRandomInt(3,6))
  26. MovementLoopAddLocation(NPC, -22.67, 0.05, 62.41, 2, 0)
  27. MovementLoopAddLocation(NPC, -22.24, 0.06, 66.51, 2, 0)
  28. MovementLoopAddLocation(NPC, -22.32, 0.71, 75.83, 2, 0)
  29. MovementLoopAddLocation(NPC, -26.54, 0.71, 75.71, 2, MakeRandomInt(3,6))
  30. MovementLoopAddLocation(NPC, -26.54, 0.71, 75.71, 2, 0)
  31. MovementLoopAddLocation(NPC, -22.98, 0.71, 75.28, 2, 0)
  32. MovementLoopAddLocation(NPC, -22.34, 0.06, 67.89, 2, 0)
  33. MovementLoopAddLocation(NPC, -31.36, -0.52, 66.46, 2, 0)
  34. MovementLoopAddLocation(NPC, -31.86, -0.66, 61.9, 2, MakeRandomInt(3,6))
  35. MovementLoopAddLocation(NPC, -31.86, -0.66, 61.9, 2, 0)
  36. MovementLoopAddLocation(NPC, -31.23, -0.57, 66.08, 2, 0)
  37. MovementLoopAddLocation(NPC, -41.7, 0.71, 66.8, 2, 0)
  38. end