analbinoarachnid2.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/Caves/analbinoarachnid2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.05 10:10:35
  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.02, 38.72, -53.84, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -2.99, 38.25, -56.9, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, -2.99, 38.25, -56.9, 2, 0)
  23. MovementLoopAddLocation(NPC, -7.82, 37.9, -40.97, 2, 0)
  24. MovementLoopAddLocation(NPC, -15.16, 37.87, -40.58, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -15.16, 37.87, -40.58, 2, 0)
  26. MovementLoopAddLocation(NPC, -0.99, 37.87, -25.41, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -0.99, 37.87, -25.41, 2, 0)
  28. MovementLoopAddLocation(NPC, -3.47, 37.87, -30.42, 2, 0)
  29. MovementLoopAddLocation(NPC, 7.91, 37.14, -44.78, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 7.91, 37.14, -44.78, 2, 0)
  31. MovementLoopAddLocation(NPC, -10.02, 37.87, -37.48, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -10.02, 37.87, -37.48, 2, 0)
  33. MovementLoopAddLocation(NPC, -15.52, 38.64, -52.3, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -15.52, 38.64, -52.3, 2, 0)
  35. MovementLoopAddLocation(NPC, -6.02, 38.72, -53.84, 2, 0)
  36. end