9
3

analbinoarachnid5.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/Caves/analbinoarachnid5.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.05 11: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, 5.74, 37.62, -52.29, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -8.89, 37.49, -71.26, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -8.89, 37.49, -71.26, 2, 0)
  23. MovementLoopAddLocation(NPC, -7.15, 37.78, -75.67, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -7.15, 37.78, -75.67, 2, 0)
  25. MovementLoopAddLocation(NPC, -13.28, 38.72, -53.63, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -13.28, 38.72, -53.63, 2, 0)
  27. MovementLoopAddLocation(NPC, -4.73, 38.3, -43.08, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, -4.73, 38.3, -43.08, 2, 0)
  29. MovementLoopAddLocation(NPC, -4.49, 38.72, -48.29, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -4.49, 38.72, -48.29, 2, 0)
  31. MovementLoopAddLocation(NPC, 9.41, 37.34, -41, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 9.41, 37.34, -41, 2, 0)
  33. MovementLoopAddLocation(NPC, -0.45, 37.87, -37.73, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -0.45, 37.87, -37.73, 2, 0)
  35. MovementLoopAddLocation(NPC, 10.54, 37.64, -52.85, 2, math.random(5,10))
  36. MovementLoopAddLocation(NPC, 10.54, 37.64, -52.85, 2, 0)
  37. MovementLoopAddLocation(NPC, 5.74, 37.62, -52.29, 2, 0)
  38. end