9
3

analbinoarachnid3.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/Caves/analbinoarachnid3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.05 10:10:15
  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, -2.04, 37.87, -36.37, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 0.84, 37.87, -34.95, 2, 0)
  22. MovementLoopAddLocation(NPC, 5.31, 37.87, -25.1, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 5.31, 37.87, -25.1, 2, 0)
  24. MovementLoopAddLocation(NPC, -4.5, 37.87, -24.27, 2, 0)
  25. MovementLoopAddLocation(NPC, -8.53, 37.88, -23.19, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, -8.53, 37.88, -23.19, 2, 0)
  27. MovementLoopAddLocation(NPC, 4.08, 37.87, -35.27, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 4.08, 37.87, -35.27, 2, 0)
  29. MovementLoopAddLocation(NPC, -15.12, 37.87, -40.86, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -15.12, 37.87, -40.86, 2, 0)
  31. MovementLoopAddLocation(NPC, -7.17, 38.34, -43.27, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, -7.17, 38.34, -43.27, 2, 0)
  33. MovementLoopAddLocation(NPC, -10.2, 38.01, -61.1, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -10.2, 38.01, -61.1, 2, 0)
  35. MovementLoopAddLocation(NPC, -9.82, 38.72, -50.08, 2, 0)
  36. MovementLoopAddLocation(NPC, 3.36, 37.87, -40.68, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 3.36, 37.87, -40.68, 2, 0)
  38. MovementLoopAddLocation(NPC, -2.04, 37.87, -36.37, 2, 0)
  39. end