aburlySabertoothPath2.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/aburlySabertoothPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.02 08:05:32
  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, -4.16, -12.15, -8.11, 2, 0)
  19. MovementLoopAddLocation(NPC, -4.16, -12.15, -8.11, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, -3.73, -12.21, -11.39, 2, 0)
  21. MovementLoopAddLocation(NPC, -7.97, -12.28, -16.29, 2, 0)
  22. MovementLoopAddLocation(NPC, -7.97, -12.28, -16.29, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -14.94, -11.63, -25.76, 2, 0)
  24. MovementLoopAddLocation(NPC, -14.94, -11.63, -25.76, 2, math.random(5,10))
  25. MovementLoopAddLocation(NPC, -11.69, -12.09, -20.11, 2, 0)
  26. MovementLoopAddLocation(NPC, -11.69, -12.09, -20.11, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -18.4, -11.83, -28.76, 2, 0)
  28. MovementLoopAddLocation(NPC, -18.4, -11.83, -28.76, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, -15.48, -11.58, -28.07, 2, 0)
  30. MovementLoopAddLocation(NPC, -12.38, -11.9, -23.18, 2, 0)
  31. MovementLoopAddLocation(NPC, -10.52, -11.8, -22.38, 2, 0)
  32. MovementLoopAddLocation(NPC, -9.44, -11.85, -20.57, 2, 0)
  33. MovementLoopAddLocation(NPC, -9.44, -11.85, -20.57, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, -11.7, -12.08, -20.57, 2, 0)
  35. MovementLoopAddLocation(NPC, -6.01, -12.17, -12.07, 2, 0)
  36. end