awhitespiderRoam3.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. 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, -8.74, 17.41, -88.61, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 4.25, 15.02, -77.19, 2, 0)
  22. MovementLoopAddLocation(NPC, 5.88, 14.51, -72.42, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 5.88, 14.51, -72.42, 2, 0)
  24. MovementLoopAddLocation(NPC, -4.94, 15.45, -78.41, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -4.94, 15.45, -78.41, 2, 0)
  26. MovementLoopAddLocation(NPC, 1.99, 16.58, -86.1, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 1.99, 16.58, -86.1, 2, 0)
  28. MovementLoopAddLocation(NPC, 14.46, 14.22, -88.84, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 14.46, 14.22, -88.84, 2, 0)
  30. MovementLoopAddLocation(NPC, -5.56, 17.49, -89.73, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -5.56, 17.49, -89.73, 2, 0)
  32. MovementLoopAddLocation(NPC, 1.8, 16.65, -86.5, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 1.8, 16.65, -86.5, 2, 0)
  34. MovementLoopAddLocation(NPC, -4.22, 13.8, -66.79, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -4.22, 13.8, -66.79, 2, 0)
  36. MovementLoopAddLocation(NPC, 6.61, 14.59, -74.79, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 6.61, 14.59, -74.79, 2, 0)
  38. MovementLoopAddLocation(NPC, 1.91, 16.64, -87.1, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 1.91, 16.64, -87.1, 2, 0)
  40. MovementLoopAddLocation(NPC, -8.74, 17.41, -88.61, 2, 0)
  41. end