amorakdevourer1587715.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587715.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587715.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:50
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. local level = GetLevel(NPC)
  10. if level == 4 then
  11. SpawnSet(NPC, "size", "28.8")
  12. end
  13. waypoints(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, 252.56, -1.17, -63.31, 2, math.random(14, 25))
  23. MovementLoopAddLocation(NPC, 260.21, -1.51, -73.81, 2, 0)
  24. MovementLoopAddLocation(NPC, 272.42, -1.55, -75.23, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 251.25, -0.16, -84.98, 2, 0)
  26. MovementLoopAddLocation(NPC, 238.61, -1.74, -98.43, 2, 0)
  27. MovementLoopAddLocation(NPC, 237.23, -1.39, -108.41, 2, 0)
  28. MovementLoopAddLocation(NPC, 241.94, -0.86, -127.51, 2, math.random(14, 25))
  29. MovementLoopAddLocation(NPC, 242.68, -0.89, -133.2, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 236.99, -1.49, -107.08, 2, math.random(14, 25))
  31. MovementLoopAddLocation(NPC, 241.58, -0.86, -137.81, 2, math.random(14, 25))
  32. MovementLoopAddLocation(NPC, 232.69, -0.97, -115.3, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 232.82, -1.32, -106.88, 2, math.random(14, 25))
  34. MovementLoopAddLocation(NPC, 235.41, -1.14, -111.13, 2, math.random(14, 25))
  35. end