asupplyrunner3.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/asupplyrunner3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.05 07:09:16
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin1.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function waypoints(NPC)
  19. MovementLoopAddLocation(NPC, 228.67, -6, 120.27, 4, math.random(5,10))
  20. MovementLoopAddLocation(NPC, 219.23, -4, 133.62, 4, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 219.23, -4, 133.62, 4, 0)
  22. MovementLoopAddLocation(NPC, 234.38, -6.48, 102.17, 4, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 234.38, -6.48, 102.17, 4, 0)
  24. MovementLoopAddLocation(NPC, 248.69, -6.8, 104.02, 4, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 248.69, -6.8, 104.02, 4, 0)
  26. MovementLoopAddLocation(NPC, 237.49, -6.76, 100.23, 4, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 237.49, -6.76, 100.23, 4, 0)
  28. MovementLoopAddLocation(NPC, 239.11, -5.06, 125.8, 4, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 239.11, -5.06, 125.8, 4, 0)
  30. MovementLoopAddLocation(NPC, 239.11, -5.06, 125.8, 4, math.random(5,10))
  31. MovementLoopAddLocation(NPC, 239.11, -5.06, 125.8, 4, 0)
  32. MovementLoopAddLocation(NPC, 230.6, -6.32, 102.52, 4, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 230.6, -6.32, 102.52, 4, 0)
  34. end