9
3

amorakdevourer428691.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer428691.lua
  3. Script Purpose : Waypoint Path for amorakdevourer428691.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:09:46
  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, 255.49, -1.14, -56.26, 2, math.random(14, 25))
  23. MovementLoopAddLocation(NPC, 255.29, -1.11, -62.59, 2, math.random(14, 25))
  24. MovementLoopAddLocation(NPC, 253.84, -0.86, -87.49, 2, math.random(14, 25))
  25. MovementLoopAddLocation(NPC, 247.83, -0.89, -91.54, 2, 0)
  26. MovementLoopAddLocation(NPC, 240.23, -1.68, -98.25, 2, math.random(14, 25))
  27. MovementLoopAddLocation(NPC, 248.14, -0.52, -87.86, 2, 0)
  28. MovementLoopAddLocation(NPC, 251.35, -0.13, -84.63, 2, 0)
  29. MovementLoopAddLocation(NPC, 253.24, -0.37, -81.97, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 256.6, -1.01, -77.77, 2, 0)
  31. MovementLoopAddLocation(NPC, 264.23, -1.53, -71.61, 2, 0)
  32. MovementLoopAddLocation(NPC, 263.32, -1.53, -62.95, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 265.59, -1.64, -56.86, 2, math.random(14, 25))
  34. end