asupplyrunnerCR1.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/asupplyrunnerCR1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.06 06:09:36
  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, 244.39, -7.22, 98.91, 4, 5)
  22. MovementLoopAddLocation(NPC, 246.54, -7.1, 87.68, 4, 0)
  23. MovementLoopAddLocation(NPC, 249.11, -4.12, 59.02, 4, 0)
  24. MovementLoopAddLocation(NPC, 251.44, -4.13, 52.44, 4, 0)
  25. MovementLoopAddLocation(NPC, 252, -4.13, 47.4, 4, 0)
  26. MovementLoopAddLocation(NPC, 234.89, -4.06, 29.17, 4, 0)
  27. MovementLoopAddLocation(NPC, 232.9, -4.05, 26.45, 4, 0)
  28. MovementLoopAddLocation(NPC, 230.76, -4.04, 10.54, 4, 0)
  29. MovementLoopAddLocation(NPC, 231.76, -4.04, 6, 4, 0)
  30. MovementLoopAddLocation(NPC, 236.4, -4.06, 0.37, 4, 0)
  31. MovementLoopAddLocation(NPC, 233.74, -4.65, -7.68, 4, math.random(5,10))
  32. MovementLoopAddLocation(NPC, 233.74, -4.65, -7.68, 4, 0)
  33. MovementLoopAddLocation(NPC, 235.52, -4.06, -0.84, 4, 0)
  34. MovementLoopAddLocation(NPC, 232.63, -3.98, 3.37, 4, 0)
  35. MovementLoopAddLocation(NPC, 230.6, -4.04, 9.51, 4, 0)
  36. MovementLoopAddLocation(NPC, 231.98, -4.05, 24.05, 4, 0)
  37. MovementLoopAddLocation(NPC, 233.96, -4.06, 27.96, 4, 0)
  38. MovementLoopAddLocation(NPC, 247.46, -4.11, 39.45, 4, 0)
  39. MovementLoopAddLocation(NPC, 251.42, -4.13, 45.38, 4, 0)
  40. MovementLoopAddLocation(NPC, 252.22, -4.13, 51.13, 4, 0)
  41. MovementLoopAddLocation(NPC, 249.4, -4.12, 57.49, 4, 0)
  42. MovementLoopAddLocation(NPC, 246.51, -6.98, 86.01, 4, 0)
  43. MovementLoopAddLocation(NPC, 246.6, -7.23, 90.96, 4, 0)
  44. end