awhitespiderRoam4.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. 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, 6.37, 15.01, -80.49, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -6.34, 15.2, -76.66, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -6.34, 15.2, -76.66, 2, 0)
  23. MovementLoopAddLocation(NPC, -3.5, 17.15, -84.02, 2, 0)
  24. MovementLoopAddLocation(NPC, 4.22, 16.17, -88.25, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 4.22, 16.17, -88.25, 2, 0)
  26. MovementLoopAddLocation(NPC, 12.25, 13.05, -82.19, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 12.25, 13.05, -82.19, 2, 0)
  28. MovementLoopAddLocation(NPC, 6.79, 15.01, -82.55, 2, 0)
  29. MovementLoopAddLocation(NPC, -6.18, 15.11, -76.03, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -6.18, 15.11, -76.03, 2, 0)
  31. MovementLoopAddLocation(NPC, 4.66, 14.13, -69.31, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 4.66, 14.13, -69.31, 2, 0)
  33. MovementLoopAddLocation(NPC, 8.75, 13.56, -73.76, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, 8.75, 13.56, -73.76, 2, 0)
  35. MovementLoopAddLocation(NPC, 5.43, 14.56, -72.67, 2, 0)
  36. MovementLoopAddLocation(NPC, -6.66, 15.84, -80.81, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -6.66, 15.84, -80.81, 2, 0)
  38. MovementLoopAddLocation(NPC, 9.7, 14.25, -83.81, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 9.7, 14.25, -83.81, 2, 0)
  40. MovementLoopAddLocation(NPC, 6.37, 15.01, -80.49, 2, 0)
  41. end