9
3

alargecoastalcrab430481.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/alargecoastalcrab430481.lua
  3. Script Purpose : Waypoint Path for alargecoastalcrab430481.lua
  4. Script Author : Rylec
  5. Script Date : 11-16-2019 08:13:09
  6. Script Notes : Locations collected from Live and modified to avoid spawn stacking
  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. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, -119.70, -9.5, 34.18, 2, math.random(16, 24))
  18. MovementLoopAddLocation(NPC, -100, -8.27, 23.41, 2, 0)
  19. MovementLoopAddLocation(NPC, -99.4, -8.71, 22.48, 2, 0)
  20. -- MovementLoopAddLocation(NPC, -106.23, -9.70, 18.64, 2, 0)
  21. MovementLoopAddLocation(NPC, -106.28, -9.65, 18.69, 2, math.random(16, 24))
  22. MovementLoopAddLocation(NPC, -98.86, -8.89, 22.68, 2, 0)
  23. -- MovementLoopAddLocation(NPC, -107.19, -9.56, 38.31, 2, 0)
  24. MovementLoopAddLocation(NPC, -107.14, -9.51, 38.26, 2, math.random(16, 24))
  25. MovementLoopAddLocation(NPC, -99.87, -8.7, 29.98, 2, 0)
  26. -- MovementLoopAddLocation(NPC, -104.4, -9.62, 18.97, 2, 0)
  27. MovementLoopAddLocation(NPC, -104.45, -9.57, 19.02, 2, math.random(16, 24))
  28. MovementLoopAddLocation(NPC, -99.16, -9.57, 21.29, 2, 0)
  29. MovementLoopAddLocation(NPC, -99.18, -8.63, 24.96, 2, 0)
  30. -- MovementLoopAddLocation(NPC, -106.95, -9.65, 37.16, 2, 0)
  31. MovementLoopAddLocation(NPC, -106.9, -9.6, 37.11, 2, math.random(16, 24))
  32. -- MovementLoopAddLocation(NPC, -106.23, -9.62, 18.64, 2, 0)
  33. MovementLoopAddLocation(NPC, -106.28, -9.57, 18.69, 2, math.random(16, 24))
  34. -- MovementLoopAddLocation(NPC, -119.75, -9.55, 34.23, 2, 0)
  35. end