afaytangleroot2.lua 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/Peatbog_Classic/afaytangleroot2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.04 08:11:30
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  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, 686.48, -33.17, 560.86, 2, 4)
  19. MovementLoopAddLocation(NPC, 703.91, -33.25, 565.25, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, 703.91, -33.25, 565.25, 2, 0)
  21. MovementLoopAddLocation(NPC, 706.99, -32.37, 551.7, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 706.99, -32.37, 551.7, 2, 0)
  23. MovementLoopAddLocation(NPC, 703.83, -32.13, 550.4, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 703.83, -32.13, 550.4, 2, 0)
  25. MovementLoopAddLocation(NPC, 718.34, -32.73, 565.54, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 718.34, -32.73, 565.54, 2, 0)
  27. MovementLoopAddLocation(NPC, 723.4, -32.83, 563.62, 2, 0)
  28. MovementLoopAddLocation(NPC, 726.06, -33.48, 551.64, 2, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 726.06, -33.48, 551.64, 2, 0)
  30. MovementLoopAddLocation(NPC, 734.47, -32.69, 543.07, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 734.47, -32.69, 543.07, 2, 0)
  32. MovementLoopAddLocation(NPC, 724.58, -33.1, 542.46, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 724.58, -33.1, 542.46, 2, 0)
  34. MovementLoopAddLocation(NPC, 724.75, -33.13, 555.13, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 724.75, -33.13, 555.13, 2, 0)
  36. MovementLoopAddLocation(NPC, 724.82, -32.79, 563.63, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 724.82, -32.79, 563.63, 2, 0)
  38. MovementLoopAddLocation(NPC, 709.51, -32.98, 558.39, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 709.51, -32.98, 558.39, 2, 0)
  40. MovementLoopAddLocation(NPC, 685.49, -32.8, 568.26, 2, math.random(5,10))
  41. MovementLoopAddLocation(NPC, 685.49, -32.8, 568.26, 2, 0)
  42. MovementLoopAddLocation(NPC, 686.48, -33.17, 560.86, 2, 4)
  43. end