Elddarkestrel570549.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/Elddarkestrel570549.lua
  3. Script Purpose : Waypoint Path for Elddarkestrel570549.lua
  4. Script Author : Rylec
  5. Script Date : 09-04-2021 12:27:02
  6. Script Notes : Locations collected from Live
  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, 632.81, -8, -381.14, 2, math.random(10, 17))
  19. MovementLoopAddLocation(NPC, 624.46, -10, -387.5, 2, math.random(10, 17))
  20. MovementLoopAddLocation(NPC, 631.02, -10.65, -384.25, 2, math.random(10, 17))
  21. MovementLoopAddLocation(NPC, 628.82, -10, -387.69, 2, math.random(10, 17))
  22. MovementLoopAddLocation(NPC, 635.12, -9, -378.9, 2, math.random(10, 17))
  23. MovementLoopAddLocation(NPC, 634.1, -10, -389.8, 2, math.random(10, 17))
  24. MovementLoopAddLocation(NPC, 632.26, -8.69, -380.86, 2, math.random(10, 17))
  25. MovementLoopAddLocation(NPC, 640.85, -8, -383.94, 2, math.random(10, 17))
  26. MovementLoopAddLocation(NPC, 627.28, -9.35, -381.92, 2, 0)
  27. MovementLoopAddLocation(NPC, 622.59, -10, -378.61, 2, math.random(10, 17))
  28. MovementLoopAddLocation(NPC, 628.29, -9, -381.34, 2, 0)
  29. MovementLoopAddLocation(NPC, 634.38, -8.6, -383.08, 2, math.random(10, 17))
  30. MovementLoopAddLocation(NPC, 630.47, -9, -384.36, 2, math.random(10, 17))
  31. MovementLoopAddLocation(NPC, 638.25, -9.5, -388.35, 2, math.random(10, 17))
  32. end