awhitespiderRoam4.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespiderRoam4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.04 06:10:18
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, 6.37, 15.01, -80.49, 2, math.random(5,10))
  19. MovementLoopAddLocation(NPC, -6.34, 15.2, -76.66, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, -6.34, 15.2, -76.66, 2, 0)
  21. MovementLoopAddLocation(NPC, -3.5, 17.15, -84.02, 2, 0)
  22. MovementLoopAddLocation(NPC, 4.22, 16.17, -88.25, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 4.22, 16.17, -88.25, 2, 0)
  24. MovementLoopAddLocation(NPC, 12.25, 13.05, -82.19, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 12.25, 13.05, -82.19, 2, 0)
  26. MovementLoopAddLocation(NPC, 6.79, 15.01, -82.55, 2, 0)
  27. MovementLoopAddLocation(NPC, -6.18, 15.11, -76.03, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -6.18, 15.11, -76.03, 2, 0)
  29. MovementLoopAddLocation(NPC, 4.66, 14.13, -69.31, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 4.66, 14.13, -69.31, 2, 0)
  31. MovementLoopAddLocation(NPC, 8.75, 13.56, -73.76, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 8.75, 13.56, -73.76, 2, 0)
  33. MovementLoopAddLocation(NPC, 5.43, 14.56, -72.67, 2, 0)
  34. MovementLoopAddLocation(NPC, -6.66, 15.84, -80.81, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -6.66, 15.84, -80.81, 2, 0)
  36. MovementLoopAddLocation(NPC, 9.7, 14.25, -83.81, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 9.7, 14.25, -83.81, 2, 0)
  38. MovementLoopAddLocation(NPC, 6.37, 15.01, -80.49, 2, 0)
  39. end