9
3

aboundwatcher.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. --[[
  2. Script Name : SpawnScripts/Classic_forest/aboundwatcher.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.14 03:10:46
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile ("SpawnScripts/Generic/MonsterCallouts/BaseWaterElemental1.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. SetSeeHide(NPC,1)
  13. AddTimer(NPC, 6000, "waypoints")
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function waypoints(NPC)
  19. if GetSpawnLocationID(NPC) == 133778186 or GetSpawnLocationID(NPC) == 133778187 then
  20. MovementLoopAddLocation(NPC, 1071.38, -7.6, -747.31, 1, 0)
  21. MovementLoopAddLocation(NPC, 1064.21, -5.87, -746.13, 1, 0)
  22. MovementLoopAddLocation(NPC, 1065.68, -5.87, -739.01, 1, 0)
  23. MovementLoopAddLocation(NPC, 1070.5, -5, -740.62, 1, 0)
  24. MovementLoopAddLocation(NPC, 1071.55, -5, -745.73, 1, 0)
  25. MovementLoopAddLocation(NPC, 1066.46, -4.14, -746.48, 1, 0)
  26. MovementLoopAddLocation(NPC, 1064.51, -3.01, -742.49, 1, 0)
  27. MovementLoopAddLocation(NPC, 1070.65, -3.01, -739.68, 1, 0)
  28. MovementLoopAddLocation(NPC, 1070.65, -3.01, -739.68, 1, 0)
  29. MovementLoopAddLocation(NPC, 1070.26, -3.01, -746.59, 1, 0)
  30. MovementLoopAddLocation(NPC, 1066.94, -3.01, -748.56, 1, 0)
  31. MovementLoopAddLocation(NPC, 1063.2, -3.01, -744.81, 1, 0)
  32. MovementLoopAddLocation(NPC, 1065.53, -3.39, -741.44, 1, 0)
  33. MovementLoopAddLocation(NPC, 1070.63, -6.64, -740.45, 1, 0)
  34. MovementLoopAddLocation(NPC, 1071, -6.64, -744.23, 1, 0)
  35. MovementLoopAddLocation(NPC, 1071.66, -10.07, -748.36, 1, 0)
  36. MovementLoopAddLocation(NPC, 1065.67, -10.07, -748.74, 1, 0)
  37. MovementLoopAddLocation(NPC, 1062.33, -10.07, -744.24, 1, 0)
  38. MovementLoopAddLocation(NPC, 1064.02, -10.07, -739.76, 1, 0)
  39. MovementLoopAddLocation(NPC, 1069.6, -10.07, -738.06, 1, 0)
  40. MovementLoopAddLocation(NPC, 1073.44, -10.07, -741.3, 1, 0)
  41. MovementLoopAddLocation(NPC, 1072.75, -10.07, -748.72, 1, 0)
  42. MovementLoopAddLocation(NPC, 1073.44, -10.07, -741.3, 1, 0)
  43. MovementLoopAddLocation(NPC, 1069.6, -10.07, -738.06, 1, 0)
  44. MovementLoopAddLocation(NPC, 1064.02, -10.07, -739.76, 1, 0)
  45. MovementLoopAddLocation(NPC, 1062.33, -10.07, -744.24, 1, 0)
  46. MovementLoopAddLocation(NPC, 1065.67, -10.07, -748.74, 1, 0)
  47. MovementLoopAddLocation(NPC, 1071.66, -10.07, -748.36, 1, 0)
  48. MovementLoopAddLocation(NPC, 1073, -6.64, -744.23, 1, 0)
  49. MovementLoopAddLocation(NPC, 1070.63, -6.64, -740.45, 1, 0)
  50. MovementLoopAddLocation(NPC, 1065.53, -3.39, -741.44, 1, 0)
  51. MovementLoopAddLocation(NPC, 1063.2, -3.01, -744.81, 1, 0)
  52. MovementLoopAddLocation(NPC, 1066.94, -3.01, -748.56, 1, 0)
  53. MovementLoopAddLocation(NPC, 1072.26, -3.01, -746.59, 1, 0)
  54. MovementLoopAddLocation(NPC, 1072.65, -3.01, -739.68, 1, 0)
  55. MovementLoopAddLocation(NPC, 1072.65, -3.01, -739.68, 1, 0)
  56. MovementLoopAddLocation(NPC, 1064.51, -3.01, -742.49, 1, 0)
  57. MovementLoopAddLocation(NPC, 1066.46, -4.14, -746.48, 1, 0)
  58. MovementLoopAddLocation(NPC, 1071.55, -5, -745.73, 1, 0)
  59. MovementLoopAddLocation(NPC, 1070.5, -5, -740.62, 1, 0)
  60. MovementLoopAddLocation(NPC, 1065.68, -5.87, -739.01, 1, 0)
  61. MovementLoopAddLocation(NPC, 1064.21, -5.87, -746.13, 1, 0)
  62. MovementLoopAddLocation(NPC, 1071.38, -7.6, -747.31, 1, 0)
  63. end
  64. end