asupplyrunner1.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. 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, 267.18, -6.19, 132.99, 4, math.random(5,10))
  22. MovementLoopAddLocation(NPC, 267.18, -6.19, 132.99, 4, 0)
  23. MovementLoopAddLocation(NPC, 246.82, -5.09, 142.2, 4, math.random(5,10))
  24. MovementLoopAddLocation(NPC, 246.82, -5.09, 142.2, 4, 0)
  25. MovementLoopAddLocation(NPC, 259.08, -6.27, 142.39, 4, math.random(5,10))
  26. MovementLoopAddLocation(NPC, 259.08, -6.27, 142.39, 4, 0)
  27. MovementLoopAddLocation(NPC, 235.91, -3.33, 153.76, 4, math.random(5,10))
  28. MovementLoopAddLocation(NPC, 235.91, -3.33, 153.76, 4, 0)
  29. MovementLoopAddLocation(NPC, 244.84, -5.08, 138.73, 4, math.random(5,10))
  30. MovementLoopAddLocation(NPC, 244.84, -5.08, 138.73, 4, 0)
  31. MovementLoopAddLocation(NPC, 270.33, -5.74, 119.87, 4, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 270.33, -5.74, 119.87, 4, 0)
  33. end