9
3

afaytangleroot3.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. --[[
  2. Script Name : SpawnScripts/Peatbog_Classic/afaytangleroot3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.11.04 08:11:45
  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, 675.93, -33.07, 556.94, 2, 4)
  19. MovementLoopAddLocation(NPC, 670.21, -32.74, 547.07, 2, math.random(5,10))
  20. MovementLoopAddLocation(NPC, 670.21, -32.74, 547.07, 2, 0)
  21. MovementLoopAddLocation(NPC, 674.66, -32.95, 535.86, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 674.66, -32.95, 535.86, 2, 0)
  23. MovementLoopAddLocation(NPC, 672.69, -32.73, 526.78, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 672.69, -32.73, 526.78, 2, 0)
  25. MovementLoopAddLocation(NPC, 681.79, -33.12, 524.45, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 681.79, -33.12, 524.45, 2, 0)
  27. MovementLoopAddLocation(NPC, 681.01, -32.98, 530.87, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 681.01, -32.98, 530.87, 2, 0)
  29. MovementLoopAddLocation(NPC, 673.25, -32.85, 545.64, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 673.25, -32.85, 545.64, 2, 0)
  31. MovementLoopAddLocation(NPC, 682.99, -33.21, 555.6, 2, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 682.99, -33.21, 555.6, 2, 0)
  33. MovementLoopAddLocation(NPC, 682.62, -32.97, 563.52, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, 682.62, -32.97, 563.52, 2, 0)
  35. MovementLoopAddLocation(NPC, 675.93, -33.07, 556.94, 2, 4)
  36. end