9
3

amorakdevourer1587721.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/amorakdevourer1587721.lua
  3. Script Purpose : Waypoint Path for amorakdevourer1587721.lua
  4. Script Author : Rylec
  5. Script Date : 06-01-2020 10:10:13
  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, 234, -1.05, -111.37, 2, math.random(14, 25))
  23. MovementLoopAddLocation(NPC, 240.02, -1, -103.2, 2, 0)
  24. MovementLoopAddLocation(NPC, 245.7, -1, -96.86, 2, 0)
  25. MovementLoopAddLocation(NPC, 274.26, -1.56, -73.91, 2, math.random(14, 25))
  26. MovementLoopAddLocation(NPC, 265.29, -1.53, -69.73, 2, math.random(14, 25))
  27. MovementLoopAddLocation(NPC, 264.78, -1.53, -59.6, 2, math.random(14, 25))
  28. MovementLoopAddLocation(NPC, 265.07, -1.53, -69.57, 2, 0)
  29. MovementLoopAddLocation(NPC, 261.11, -1.16, -80.58, 2, math.random(14, 25))
  30. MovementLoopAddLocation(NPC, 247.34, -0.77, -95.9, 2, 0)
  31. MovementLoopAddLocation(NPC, 243.38, -0.87, -99.18, 2, 0)
  32. MovementLoopAddLocation(NPC, 235.4, -1.15, -109.57, 2, math.random(14, 25))
  33. MovementLoopAddLocation(NPC, 229.99, -0.82, -124.48, 2, math.random(14, 25))
  34. MovementLoopAddLocation(NPC, 248.75, -1.02, -144.42, 2, math.random(14, 25))
  35. end