9
3

awhitespiderRoam2.lua 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespiderRoam2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.04 06:10:23
  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, -10.14, 12.81, -56.64, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -5.33, 12.8, -53.41, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -5.33, 12.8, -53.41, 2, 0)
  23. MovementLoopAddLocation(NPC, -9.14, 12.91, -56.67, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -9.14, 12.91, -56.67, 2, 0)
  25. MovementLoopAddLocation(NPC, -5.62, 13.73, -66.29, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -5.62, 13.73, -66.29, 2, 0)
  27. MovementLoopAddLocation(NPC, 4.76, 14.16, -69.52, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 4.76, 14.16, -69.52, 2, 0)
  29. MovementLoopAddLocation(NPC, 3.72, 14.97, -76.16, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 3.72, 14.97, -76.16, 2, 0)
  31. MovementLoopAddLocation(NPC, -0.55, 13.73, -66.3, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -0.55, 13.73, -66.3, 2, 0)
  33. MovementLoopAddLocation(NPC, -8.1, 14.7, -74.11, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -8.1, 14.7, -74.11, 2, 0)
  35. MovementLoopAddLocation(NPC, 3.24, 15.47, -80.77, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, 3.24, 15.47, -80.77, 2, 0)
  37. MovementLoopAddLocation(NPC, 5.15, 15.34, -92.45, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, 5.15, 15.34, -92.45, 2, 0)
  39. MovementLoopAddLocation(NPC, -6.48, 17.19, -84.14, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -6.48, 17.19, -84.14, 2, 0)
  41. MovementLoopAddLocation(NPC, -5.14, 13.71, -66.22, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -5.14, 13.71, -66.22, 2, 0)
  43. MovementLoopAddLocation(NPC, -9.78, 12.99, -59.6, 2, math.random(5,10))
  44. MovementLoopAddLocation(NPC, -9.78, 12.99, -59.6, 2, 0)
  45. MovementLoopAddLocation(NPC, -12.33, 12.95, -52.74, 2, 0)
  46. MovementLoopAddLocation(NPC, -12.28, 12.97, -51.17, 2, math.random(5,10))
  47. MovementLoopAddLocation(NPC, -12.28, 12.97, -51.17, 2, 0)
  48. MovementLoopAddLocation(NPC, -12.27, 12.96, -51.99, 2, 0)
  49. MovementLoopAddLocation(NPC, -10.14, 12.81, -56.64, 2, 0)
  50. end