9
3

asupplyrunnerCR2.lua 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/asupplyrunnerCR2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.06 06:09:56
  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, 232.69, -4.55, -6.96, 4, 5)
  22. MovementLoopAddLocation(NPC, 236.31, -4.06, -0.3, 4, 0)
  23. MovementLoopAddLocation(NPC, 232.45, -3.96, 4.15, 4, 0)
  24. MovementLoopAddLocation(NPC, 230.37, -4.04, 9.01, 4, 0)
  25. MovementLoopAddLocation(NPC, 232.28, -4.05, 25.23, 4, 0)
  26. MovementLoopAddLocation(NPC, 234.55, -4.06, 28.92, 4, 0)
  27. MovementLoopAddLocation(NPC, 246.83, -4.11, 39.3, 4, 0)
  28. MovementLoopAddLocation(NPC, 251.47, -4.13, 45.21, 4, 0)
  29. MovementLoopAddLocation(NPC, 251.64, -4.13, 50.95, 4, 0)
  30. MovementLoopAddLocation(NPC, 249.08, -4.12, 57.52, 4, 0)
  31. MovementLoopAddLocation(NPC, 246.6, -6.98, 84.93, 4, 0)
  32. MovementLoopAddLocation(NPC, 246.39, -7.23, 93.03, 4, 0)
  33. MovementLoopAddLocation(NPC, 245.08, -7.23, 98.61, 4, math.random(5,10))
  34. MovementLoopAddLocation(NPC, 245.08, -7.23, 98.61, 4, 0)
  35. MovementLoopAddLocation(NPC, 246.33, -7.23, 90.64, 4, 0)
  36. MovementLoopAddLocation(NPC, 248.63, -4.5, 61.72, 4, 0)
  37. MovementLoopAddLocation(NPC, 251.76, -4.13, 54.34, 4, 0)
  38. MovementLoopAddLocation(NPC, 252.54, -4.13, 48.76, 4, 0)
  39. MovementLoopAddLocation(NPC, 250.76, -4.12, 44.24, 4, 0)
  40. MovementLoopAddLocation(NPC, 234.09, -4.06, 28.9, 4, 0)
  41. MovementLoopAddLocation(NPC, 231.73, -4.05, 24.24, 4, 0)
  42. MovementLoopAddLocation(NPC, 230.05, -4.04, 10.14, 4, 0)
  43. MovementLoopAddLocation(NPC, 233.47, -4.02, 3.84, 4, 0)
  44. end