9
3

CrugybartheRock.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/CrugybartheRock.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.05.01 10:05:10
  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, -25.58, -7.53, -70.86, 2, math.random(35,45))
  19. MovementLoopAddLocation(NPC, -25.58, -7.53, -70.86, 2, 0)
  20. MovementLoopAddLocation(NPC, -26.8, -7.56, -66.15, 2, 0)
  21. MovementLoopAddLocation(NPC, -22.48, -7.49, -63.56, 2, 0)
  22. MovementLoopAddLocation(NPC, -18.17, -7.56, -62.22, 2, 0)
  23. MovementLoopAddLocation(NPC, -14.18, -7.36, -62.55, 2, 0)
  24. MovementLoopAddLocation(NPC, -7.76, -7.33, -63.54, 2, 0)
  25. MovementLoopAddLocation(NPC, -2.68, -7.21, -63.94, 2, 0)
  26. MovementLoopAddLocation(NPC, 3.3, -6.68, -63.4, 2, 0)
  27. MovementLoopAddLocation(NPC, 9.32, -5.69, -62.59, 2, 0)
  28. MovementLoopAddLocation(NPC, 7.42, -5.98, -62.96, 2, 0)
  29. MovementLoopAddLocation(NPC, 2.79, -6.75, -63.54, 2, 0)
  30. MovementLoopAddLocation(NPC, -2.73, -7.14, -63.5, 2, 0)
  31. MovementLoopAddLocation(NPC, -10.04, -7.31, -62.94, 2, 0)
  32. MovementLoopAddLocation(NPC, -15.37, -7.35, -62.17, 2, 0)
  33. MovementLoopAddLocation(NPC, -19.73, -7.5, -62.73, 2, 0)
  34. MovementLoopAddLocation(NPC, -21.03, -7.59, -65.23, 2, 0)
  35. MovementLoopAddLocation(NPC, -22.14, -7.52, -68.83, 2, 0)
  36. MovementLoopAddLocation(NPC, -25.13, -7.53, -70.86, 2, 0)
  37. end