aspectralinstructor.lua 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/agossamergroundskeeper.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.02.26 11:02:09
  5. Script Purpose : Looping instructor pathing/emotes
  6. :
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. if GetSpawnLocationID(NPC)==424804 then
  18. MovementLoopAddLocation(NPC, 1070.56, -4.3, -765.76, 2, 0)
  19. MovementLoopAddLocation(NPC, 1083.47, -4.3, -759.94, 2, 0)
  20. MovementLoopAddLocation(NPC, 1087.85, -5.5, -753.82, 2, 0)
  21. MovementLoopAddLocation(NPC, 1090.39, -10.05, -744.45, 2, 0)
  22. MovementLoopAddLocation(NPC, 1083.6, -10.25, -736.13, 2, 0)
  23. MovementLoopAddLocation(NPC, 1071.57, -10.25, -731.76, 2, 0)
  24. MovementLoopAddLocation(NPC, 1057.64, -10.25, -738.46, 2, 0)
  25. MovementLoopAddLocation(NPC, 1054.39, -10.25, -748.41, 2, 0)
  26. MovementLoopAddLocation(NPC, 1050.12, -10.25, -767.95, 2, 0)
  27. MovementLoopAddLocation(NPC, 1055.54, -10.25, -772.17, 2, 0)
  28. MovementLoopAddLocation(NPC, 1056.9, -10.25, -781.29, 2, 0)
  29. MovementLoopAddLocation(NPC, 1063.09, -10.25, -789.2, 2, 0)
  30. MovementLoopAddLocation(NPC, 1062.33, -10.25, -790.59, 2, 0)
  31. MovementLoopAddLocation(NPC, 1056.98, -10.25, -780.3, 2, 0)
  32. MovementLoopAddLocation(NPC, 1055.73, -10.25, -772.32, 2, 0)
  33. MovementLoopAddLocation(NPC, 1046.37, -10.25, -767.82, 2, 0)
  34. MovementLoopAddLocation(NPC, 1037.32, -10.25, -769.86, 2, 0)
  35. MovementLoopAddLocation(NPC, 1034.95, -10.25, -769.62, 2, 0)
  36. MovementLoopAddLocation(NPC, 1034.38, -10.25, -767.39, 2, 0)
  37. MovementLoopAddLocation(NPC, 1040.4, -10.25, -765.13, 2, 0)
  38. MovementLoopAddLocation(NPC, 1042.44, -10.25, -754.56, 2, 0)
  39. MovementLoopAddLocation(NPC, 1054.32, -10.25, -755.92, 2, 0)
  40. else if GetSpawnLocationID(NPC)==424825 then
  41. MovementLoopAddLocation(NPC, 1111.34, -10.25, -724.74, 2, 0)
  42. MovementLoopAddLocation(NPC, 1090.59, -10.25, -734.93, 2, 0)
  43. MovementLoopAddLocation(NPC, 1087.82, -7.68, -748.95, 2, 0)
  44. MovementLoopAddLocation(NPC, 1083.25, -4.3, -757.96, 2, 0)
  45. MovementLoopAddLocation(NPC, 1070.91, -4.31, -771.59, 2, 0)
  46. MovementLoopAddLocation(NPC, 1071.26, -4.31, -782.76, 2, 0)
  47. MovementLoopAddLocation(NPC, 1080.1, -4.3, -787.17, 2, 0)
  48. MovementLoopAddLocation(NPC, 1096.85, -4.3, -780.46, 2, 0)
  49. MovementLoopAddLocation(NPC, 1096.53, -4.31, -770.27, 2, 0)
  50. MovementLoopAddLocation(NPC, 1088.14, -4.31, -762.58, 2, 0)
  51. MovementLoopAddLocation(NPC, 1069.82, -4.3, -762.9, 2, 0)
  52. MovementLoopAddLocation(NPC, 1060.85, -8.1, -759.86, 2, 0)
  53. MovementLoopAddLocation(NPC, 1053.36, -10.25, -753.97, 2, 0)
  54. MovementLoopAddLocation(NPC, 1057.18, -10.25, -748.81, 2, 0)
  55. MovementLoopAddLocation(NPC, 1065.7, -10.25, -755.94, 2, 0)
  56. MovementLoopAddLocation(NPC, 1077.96, -10.25, -751.21, 2, 0)
  57. MovementLoopAddLocation(NPC, 1080.84, -10.25, -739.33, 2, 0)
  58. end
  59. end
  60. end