asupplyrunner1.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/asupplyrunner1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.05 07:09:53
  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, 267.18, -6.19, 132.99, 4, math.random(5,10))
  20. MovementLoopAddLocation(NPC, 267.18, -6.19, 132.99, 4, 0)
  21. MovementLoopAddLocation(NPC, 246.82, -5.09, 142.2, 4, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 246.82, -5.09, 142.2, 4, 0)
  23. MovementLoopAddLocation(NPC, 259.08, -6.27, 142.39, 4, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 259.08, -6.27, 142.39, 4, 0)
  25. MovementLoopAddLocation(NPC, 235.91, -3.33, 153.76, 4, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 235.91, -3.33, 153.76, 4, 0)
  27. MovementLoopAddLocation(NPC, 244.84, -5.08, 138.73, 4, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 244.84, -5.08, 138.73, 4, 0)
  29. MovementLoopAddLocation(NPC, 270.33, -5.74, 119.87, 4, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 270.33, -5.74, 119.87, 4, 0)
  31. end