9
3

awhitespiderRoam5.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespiderRoam5.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.04 07:10:41
  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. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -0.3, 14.99, -75.22, 2, math.random(5,10))
  18. MovementLoopAddLocation(NPC, -1.65, 13.99, -68.24, 2, math.random(5,10))
  19. MovementLoopAddLocation(NPC, -1.65, 13.99, -68.24, 2, 0)
  20. MovementLoopAddLocation(NPC, 5.99, 14.81, -75.41, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 5.99, 14.81, -75.41, 2, 0)
  22. MovementLoopAddLocation(NPC, 6.8, 14.75, -93.18, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 6.8, 14.75, -93.18, 2, 0)
  24. MovementLoopAddLocation(NPC, -8.11, 15.01, -76.52, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -8.11, 15.01, -76.52, 2, 0)
  26. MovementLoopAddLocation(NPC, -0.56, 15.53, -78.93, 2, 0)
  27. MovementLoopAddLocation(NPC, 3.51, 14.95, -75.72, 2, 0)
  28. MovementLoopAddLocation(NPC, 5.1, 14.13, -69.3, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 5.1, 14.13, -69.3, 2, 0)
  30. MovementLoopAddLocation(NPC, 1.39, 14.36, -71.02, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 1.39, 14.36, -71.02, 2, 0)
  32. MovementLoopAddLocation(NPC, 6.84, 13.38, -65.41, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 6.84, 13.38, -65.41, 2, 0)
  34. MovementLoopAddLocation(NPC, -0.3, 14.99, -75.22, 2, 0)
  35. end