alargecoastalcrab430485.lua 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/alargecoastalcrab430485.lua
  3. Script Purpose : Waypoint Path for alargecoastalcrab430485.lua
  4. Script Author : Rylec
  5. Script Date : 11-16-2019 08:13:22
  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, -100.27, -9.46, 32.41, 2, math.random(16, 24))
  18. MovementLoopAddLocation(NPC, -104.91, -8.29, 32.29, 2, 0)
  19. -- MovementLoopAddLocation(NPC, -121.42, -9.55, 31.25, 2, 0)
  20. MovementLoopAddLocation(NPC, -121.38, -9.5, 31.17, 2, math.random(16, 24))
  21. -- MovementLoopAddLocation(NPC, -96.17, -9.75, 23.13, 2, 0)
  22. MovementLoopAddLocation(NPC, -96.24, -9.7, 23.08, 2, math.random(16, 24))
  23. -- MovementLoopAddLocation(NPC, -103.44, -9.55, 19.62, 2, 0)
  24. MovementLoopAddLocation(NPC, -103.39, -9.5, 19.67, 2, math.random(16, 24))
  25. -- MovementLoopAddLocation(NPC, -99.02, -9.72, 32.39, 2, 0)
  26. MovementLoopAddLocation(NPC, -99.12, -9.67, 32.41, 2, math.random(16, 24))
  27. -- MovementLoopAddLocation(NPC, -120.75, -9.67, 32.87, 2, 0)
  28. MovementLoopAddLocation(NPC, -120.70, -9.62, 32.82, 2, math.random(16, 24))
  29. -- MovementLoopAddLocation(NPC, -100.22, -9.89, 32.56, 2, 0)
  30. MovementLoopAddLocation(NPC, -100.23, -9.84, 32.41, 2, math.random(16, 24))
  31. -- MovementLoopAddLocation(NPC, -101.31, -9.55, 19.82, 2, 0)
  32. MovementLoopAddLocation(NPC, -101.36, -9.5, 19.87, 2, math.random(16, 24))
  33. -- MovementLoopAddLocation(NPC, -121.78, -10.3, 31.17, 2, 0)
  34. MovementLoopAddLocation(NPC, -121.68, -10.35, 31.2, 2, math.random(16, 24))
  35. -- MovementLoopAddLocation(NPC, -100.22, -9.49, 32.46, 2, 0)
  36. end