9
3

afaytangleroot2.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, 686.48, -33.17, 560.86, 2, 4)
  21. MovementLoopAddLocation(NPC, 703.91, -33.25, 565.25, 2, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 703.91, -33.25, 565.25, 2, 0)
  23. MovementLoopAddLocation(NPC, 706.99, -32.37, 551.7, 2, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 706.99, -32.37, 551.7, 2, 0)
  25. MovementLoopAddLocation(NPC, 703.83, -32.13, 550.4, 2, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 703.83, -32.13, 550.4, 2, 0)
  27. MovementLoopAddLocation(NPC, 718.34, -32.73, 565.54, 2, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 718.34, -32.73, 565.54, 2, 0)
  29. MovementLoopAddLocation(NPC, 723.4, -32.83, 563.62, 2, 0)
  30. MovementLoopAddLocation(NPC, 726.06, -33.48, 551.64, 2, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 726.06, -33.48, 551.64, 2, 0)
  32. MovementLoopAddLocation(NPC, 734.47, -32.69, 543.07, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 734.47, -32.69, 543.07, 2, 0)
  34. MovementLoopAddLocation(NPC, 724.58, -33.1, 542.46, 2, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 724.58, -33.1, 542.46, 2, 0)
  36. MovementLoopAddLocation(NPC, 724.75, -33.13, 555.13, 2, math.random(5,10))
  37. MovementLoopAddLocation(NPC, 724.75, -33.13, 555.13, 2, 0)
  38. MovementLoopAddLocation(NPC, 724.82, -32.79, 563.63, 2, math.random(5,10))
  39. MovementLoopAddLocation(NPC, 724.82, -32.79, 563.63, 2, 0)
  40. MovementLoopAddLocation(NPC, 709.51, -32.98, 558.39, 2, math.random(5,10))
  41. MovementLoopAddLocation(NPC, 709.51, -32.98, 558.39, 2, 0)
  42. MovementLoopAddLocation(NPC, 685.49, -32.8, 568.26, 2, math.random(5,10))
  43. MovementLoopAddLocation(NPC, 685.49, -32.8, 568.26, 2, 0)
  44. MovementLoopAddLocation(NPC, 686.48, -33.17, 560.86, 2, 4)
  45. end