9
3

awhitespiderRoam6.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespiderRoam6.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.04 07:10:37
  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, 3.94, 13.18, -63.31, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 3.48, 12.64, -53.38, 2, 0)
  22. MovementLoopAddLocation(NPC, -2.55, 12.8, -53.44, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -2.55, 12.8, -53.44, 2, 0)
  24. MovementLoopAddLocation(NPC, 2.66, 12.67, -53.7, 2, 0)
  25. MovementLoopAddLocation(NPC, 8.19, 13.16, -66.6, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 8.19, 13.16, -66.6, 2, 0)
  27. MovementLoopAddLocation(NPC, 10.14, 13.15, -76.84, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 10.14, 13.15, -76.84, 2, 0)
  29. MovementLoopAddLocation(NPC, -0.16, 14.73, -73.48, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -0.16, 14.73, -73.48, 2, 0)
  31. MovementLoopAddLocation(NPC, 2.38, 15.77, -81.66, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 2.38, 15.77, -81.66, 2, 0)
  33. MovementLoopAddLocation(NPC, -1.72, 14.22, -69.98, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -1.72, 14.22, -69.98, 2, 0)
  35. MovementLoopAddLocation(NPC, 8.65, 14.02, -80.46, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, 8.65, 14.02, -80.46, 2, 0)
  37. MovementLoopAddLocation(NPC, 1.41, 16.74, -86.76, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, 1.41, 16.74, -86.76, 2, 0)
  39. MovementLoopAddLocation(NPC, -0.81, 13.98, -68.15, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -0.81, 13.98, -68.15, 2, 0)
  41. MovementLoopAddLocation(NPC, -6.86, 13.96, -68, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -6.86, 13.96, -68, 2, 0)
  43. MovementLoopAddLocation(NPC, 3.94, 13.18, -63.31, 2, 0)
  44. end