9
3

awhitespiderRoam1.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/Caves/awhitespiderRoam1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.04 06:10:00
  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, -23.32, 13.25, -56.31, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -22.55, 13.05, -53.63, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -22.55, 13.05, -53.63, 2, 0)
  23. MovementLoopAddLocation(NPC, -26.36, 13.06, -56.26, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -26.36, 13.06, -56.26, 2, 0)
  25. MovementLoopAddLocation(NPC, -22.68, 12.94, -52.01, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -22.68, 12.94, -52.01, 2, 0)
  27. MovementLoopAddLocation(NPC, -21.56, 12.86, -62.93, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -21.56, 12.86, -62.93, 2, 0)
  29. MovementLoopAddLocation(NPC, -25.41, 12.94, -73.04, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -25.41, 12.94, -73.04, 2, 0)
  31. MovementLoopAddLocation(NPC, -24.69, 12.72, -63.2, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -24.69, 12.72, -63.2, 2, 0)
  33. MovementLoopAddLocation(NPC, -20.76, 12.9, -62.23, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -20.76, 12.9, -62.23, 2, 0)
  35. MovementLoopAddLocation(NPC, -25.04, 12.71, -62.12, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, -25.04, 12.71, -62.12, 2, 0)
  37. MovementLoopAddLocation(NPC, -21.45, 12.96, -71.94, 2, math.random(5,10))
  38. MovementLoopAddLocation(NPC, -21.45, 12.96, -71.94, 2, 0)
  39. MovementLoopAddLocation(NPC, -24.09, 12.73, -65.53, 2, math.random(5,10))
  40. MovementLoopAddLocation(NPC, -24.09, 12.73, -65.53, 2, 0)
  41. MovementLoopAddLocation(NPC, -25.47, 13.09, -54.55, 2, math.random(5,10))
  42. MovementLoopAddLocation(NPC, -25.47, 13.09, -54.55, 2, 0)
  43. MovementLoopAddLocation(NPC, -23.32, 13.25, -56.31, 2, 0)
  44. end