asupplyrunner3.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 228.67, -6, 120.27, 4, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 219.23, -4, 133.62, 4, math.random(5,10))
  23. MovementLoopAddLocation(NPC, 219.23, -4, 133.62, 4, 0)
  24. MovementLoopAddLocation(NPC, 234.38, -6.48, 102.17, 4, math.random(5,10))
  25. MovementLoopAddLocation(NPC, 234.38, -6.48, 102.17, 4, 0)
  26. MovementLoopAddLocation(NPC, 248.69, -6.8, 104.02, 4, math.random(5,10))
  27. MovementLoopAddLocation(NPC, 248.69, -6.8, 104.02, 4, 0)
  28. MovementLoopAddLocation(NPC, 237.49, -6.76, 100.23, 4, math.random(5,10))
  29. MovementLoopAddLocation(NPC, 237.49, -6.76, 100.23, 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, 239.11, -5.06, 125.8, 4, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 239.11, -5.06, 125.8, 4, 0)
  34. MovementLoopAddLocation(NPC, 230.6, -6.32, 102.52, 4, math.random(5,10))
  35. MovementLoopAddLocation(NPC, 230.6, -6.32, 102.52, 4, 0)
  36. end