adarklasherPath1.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/adarklasherPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.03 07:05:22
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC, 6000, "waypoints")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, -13.79, -12.84, 18.13, 2, math.random(5,10))
  19. MovementLoopAddLocation(NPC, -13.79, -12.84, 18.13, 2, 0)
  20. MovementLoopAddLocation(NPC, -33.34, -16.12, 18.35, 2, math.random(5,10))
  21. MovementLoopAddLocation(NPC, -33.34, -16.12, 18.35, 2, 0)
  22. MovementLoopAddLocation(NPC, -17.05, -13.25, 17.97, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -17.05, -13.25, 17.97, 2, 0)
  24. MovementLoopAddLocation(NPC, -18.15, -13.29, 18.9, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -18.15, -13.29, 18.9, 2, 0)
  26. MovementLoopAddLocation(NPC, -32.2, -15.85, 15.53, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -32.2, -15.85, 15.53, 2, 0)
  28. MovementLoopAddLocation(NPC, -28.77, -15.16, 16.25, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -28.77, -15.16, 16.25, 2, 0)
  30. MovementLoopAddLocation(NPC, -23.63, -14.06, 20.05, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, -23.63, -14.06, 20.05, 2, 0)
  32. MovementLoopAddLocation(NPC, -28.56, -15.12, 17.33, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -28.56, -15.12, 17.33, 2, 0)
  34. MovementLoopAddLocation(NPC, -27.56, -14.89, 20.29, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, -27.56, -14.89, 20.29, 2, 0)
  36. MovementLoopAddLocation(NPC, -18.74, -13.25, 16.49, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, -18.74, -13.25, 16.49, 2, 0)
  38. end