9
3

awhitespiderRoam5.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. 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. end
  18. function waypoints(NPC)
  19. MovementLoopAddLocation(NPC, -0.3, 14.99, -75.22, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, -1.65, 13.99, -68.24, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -1.65, 13.99, -68.24, 2, 0)
  22. MovementLoopAddLocation(NPC, 5.99, 14.81, -75.41, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 5.99, 14.81, -75.41, 2, 0)
  24. MovementLoopAddLocation(NPC, 6.8, 14.75, -93.18, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 6.8, 14.75, -93.18, 2, 0)
  26. MovementLoopAddLocation(NPC, -8.11, 15.01, -76.52, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -8.11, 15.01, -76.52, 2, 0)
  28. MovementLoopAddLocation(NPC, -0.56, 15.53, -78.93, 2, 0)
  29. MovementLoopAddLocation(NPC, 3.51, 14.95, -75.72, 2, 0)
  30. MovementLoopAddLocation(NPC, 5.1, 14.13, -69.3, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 5.1, 14.13, -69.3, 2, 0)
  32. MovementLoopAddLocation(NPC, 1.39, 14.36, -71.02, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 1.39, 14.36, -71.02, 2, 0)
  34. MovementLoopAddLocation(NPC, 6.84, 13.38, -65.41, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 6.84, 13.38, -65.41, 2, 0)
  36. MovementLoopAddLocation(NPC, -0.3, 14.99, -75.22, 2, 0)
  37. end