awhitespiderRoam3.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespiderRoam3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.04 06:10:46
  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, -8.74, 17.41, -88.61, 2, math.random(5,10))
  19. MovementLoopAddLocation(NPC, 4.25, 15.02, -77.19, 2, 0)
  20. MovementLoopAddLocation(NPC, 5.88, 14.51, -72.42, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 5.88, 14.51, -72.42, 2, 0)
  22. MovementLoopAddLocation(NPC, -4.94, 15.45, -78.41, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -4.94, 15.45, -78.41, 2, 0)
  24. MovementLoopAddLocation(NPC, 1.99, 16.58, -86.1, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 1.99, 16.58, -86.1, 2, 0)
  26. MovementLoopAddLocation(NPC, 14.46, 14.22, -88.84, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 14.46, 14.22, -88.84, 2, 0)
  28. MovementLoopAddLocation(NPC, -5.56, 17.49, -89.73, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -5.56, 17.49, -89.73, 2, 0)
  30. MovementLoopAddLocation(NPC, 1.8, 16.65, -86.5, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 1.8, 16.65, -86.5, 2, 0)
  32. MovementLoopAddLocation(NPC, -4.22, 13.8, -66.79, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -4.22, 13.8, -66.79, 2, 0)
  34. MovementLoopAddLocation(NPC, 6.61, 14.59, -74.79, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 6.61, 14.59, -74.79, 2, 0)
  36. MovementLoopAddLocation(NPC, 1.91, 16.64, -87.1, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 1.91, 16.64, -87.1, 2, 0)
  38. MovementLoopAddLocation(NPC, -8.74, 17.41, -88.61, 2, 0)
  39. end