analbinoarachnid1.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/Caves/analbinoarachnid1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.10.05 08:10:30
  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.73, 38.7, -46.19, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 1.9, 37.87, -55.85, 2,math.random(5,10))
  22. MovementLoopAddLocation(NPC, 1.9, 37.87, -55.85, 2, 0)
  23. MovementLoopAddLocation(NPC, -17.81, 38.72, -56.29, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, -17.81, 38.72, -56.29, 2, 0)
  25. MovementLoopAddLocation(NPC, 5.24, 37.3, -46.26, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 5.24, 37.3, -46.26, 2, 0)
  27. MovementLoopAddLocation(NPC, 2.87, 37.87, -36.13, 2, 0)
  28. MovementLoopAddLocation(NPC, 12.74, 37.87, -29.4, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 12.74, 37.87, -29.4, 2, 0)
  30. MovementLoopAddLocation(NPC, 1.1, 37.87, -27.58, 2, 0)
  31. MovementLoopAddLocation(NPC, 3.83, 37.87, -36.32, 2, 0)
  32. MovementLoopAddLocation(NPC, -9.29, 38.18, -42.59, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -9.29, 38.18, -42.59, 2, 0)
  34. MovementLoopAddLocation(NPC, -9.28, 38.72, -50.7, 2,math.random(5,10))
  35. MovementLoopAddLocation(NPC, -9.28, 38.72, -50.7, 2, 0)
  36. MovementLoopAddLocation(NPC, -9.81, 37.87, -39.81, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -9.81, 37.87, -39.81, 2, 0)
  38. MovementLoopAddLocation(NPC, -2.73, 38.7, -46.19, 2, 0)
  39. end