9
3

analbinoarachnid4.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : SpawnScripts/Caves/analbinoarachnid4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.05 11:10:24
  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.73, 37.87, -32.22, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 15.2, 37.14, -36.44, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 15.2, 37.14, -36.44, 2, 0)
  23. MovementLoopAddLocation(NPC, 21.48, 37.87, -22.22, 2, 0)
  24. MovementLoopAddLocation(NPC, 21.29, 37.87, -22.91, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 21.29, 37.87, -22.91, 2, 0)
  26. MovementLoopAddLocation(NPC, 11.29, 37.14, -44.34, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 11.29, 37.14, -44.34, 2, 0)
  28. MovementLoopAddLocation(NPC, 11.22, 37.87, -57.26, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 11.22, 37.87, -57.26, 2, 0)
  30. MovementLoopAddLocation(NPC, 1.32, 37.87, -43.04, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 1.32, 37.87, -43.04, 2, 0)
  32. MovementLoopAddLocation(NPC, -3.74, 38.63, -54.89, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -3.74, 38.63, -54.89, 2, 0)
  34. MovementLoopAddLocation(NPC, 2.37, 37.56, -67.05, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 2.37, 37.56, -67.05, 2, 0)
  36. MovementLoopAddLocation(NPC, -7.78, 38.72, -48.33, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -7.78, 38.72, -48.33, 2, 0)
  38. MovementLoopAddLocation(NPC, 18.87, 37.14, -33.33, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 18.87, 37.14, -33.33, 2, 0)
  40. MovementLoopAddLocation(NPC, 6.73, 37.87, -32.22, 2, 0)
  41. end