9
3

asupplyrunner2.lua 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/asupplyrunner2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.05 07:09:42
  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, 257.39, -6, 128.08, 5, math.random(5,10))
  20. MovementLoopAddLocation(NPC, 255.3, -6.83, 102.28, 5, math.random(5,10))
  21. MovementLoopAddLocation(NPC, 255.3, -6.83, 102.28, 5, 0)
  22. MovementLoopAddLocation(NPC, 239.3, -6.91, 92.24, 5, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 239.3, -6.91, 92.24, 5, 0)
  24. MovementLoopAddLocation(NPC, 259.9, -6.83, 105.77, 5, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 259.9, -6.83, 105.77, 5, 0)
  26. MovementLoopAddLocation(NPC, 248.11, -5.09, 134.55, 5, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 248.11, -5.09, 134.55, 0, 0)
  28. MovementLoopAddLocation(NPC, 257.39, -6, 128.08, 4, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 257.39, -6, 128.08, 4, 0)
  30. end