9
3

KerlukMarrstand.lua 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. --[[
  2. Script Name : SpawnScripts/Castleview/KerlukMarrstand.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.29 04:10:20
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. GenericEcologyHail(NPC, Spawn, faction)
  16. end
  17. function InRange(NPC,Spawn)
  18. GenericEcologyCallout(NPC, Spawn, faction)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 778.94, -19.96, -127.51, 2, 1)
  22. MovementLoopAddLocation(NPC, 778.94, -19.96, -127.51, 2, 25,"EcologyEmotes")
  23. MovementLoopAddLocation(NPC, 777.4, -19.95, -126.99, 2, 0)
  24. MovementLoopAddLocation(NPC, 764.6, -19.94, -126.04, 2, 0)
  25. MovementLoopAddLocation(NPC, 757.86, -20.02, -124.94, 2, 0)
  26. MovementLoopAddLocation(NPC, 740.15, -21.36, -124.65, 2, 0)
  27. MovementLoopAddLocation(NPC, 735.19, -21.31, -124.73, 2, 0)
  28. MovementLoopAddLocation(NPC, 730.52, -21.18, -132.27, 2, 0)
  29. MovementLoopAddLocation(NPC, 726.65, -21.15, -135.98, 2, 0)
  30. MovementLoopAddLocation(NPC, 717.7, -21.12, -137.89, 2, 0)
  31. MovementLoopAddLocation(NPC, 710.2, -21.16, -136.83, 2, 1)
  32. MovementLoopAddLocation(NPC, 710.2, -21.16, -136.83, 2, 25,"EcologyEmotes")
  33. MovementLoopAddLocation(NPC, 711.82, -21.15, -136.6, 2, 0)
  34. MovementLoopAddLocation(NPC, 720.51, -21.14, -136.61, 2, 0)
  35. MovementLoopAddLocation(NPC, 725.76, -21.15, -135.74, 2, 0)
  36. MovementLoopAddLocation(NPC, 728.41, -21.18, -133.5, 2, 0)
  37. MovementLoopAddLocation(NPC, 731.92, -21.17, -130.23, 2, 0)
  38. MovementLoopAddLocation(NPC, 732.94, -21.15, -128.97, 2, 0)
  39. MovementLoopAddLocation(NPC, 736.58, -21.34, -124.5, 2, 0)
  40. MovementLoopAddLocation(NPC, 743.07, -21.36, -124.71, 2, 0)
  41. MovementLoopAddLocation(NPC, 749.45, -21.34, -125.61, 2, 0)
  42. MovementLoopAddLocation(NPC, 750.9, -21.26, -131.37, 2, 0)
  43. MovementLoopAddLocation(NPC, 759.81, -20.48, -132.42, 2, 0)
  44. MovementLoopAddLocation(NPC, 765.56, -20.49, -133.7, 2, 0)
  45. MovementLoopAddLocation(NPC, 766.25, -20.47, -134.25, 2, 0)
  46. MovementLoopAddLocation(NPC, 766.41, -20.22, -138.97, 2, 0)
  47. MovementLoopAddLocation(NPC, 767, -19.99, -142.56, 2, 0)
  48. MovementLoopAddLocation(NPC, 766.75, -19.73, -147.72, 2, 0)
  49. MovementLoopAddLocation(NPC, 765.98, -19.46, -151.9, 2, 0)
  50. MovementLoopAddLocation(NPC, 765.96, -18.96, -159.86, 2, 0)
  51. MovementLoopAddLocation(NPC, 769.7, -18.92, -163.13, 2, 0)
  52. MovementLoopAddLocation(NPC, 777.28, -17.39, -164.39, 2, 0)
  53. MovementLoopAddLocation(NPC, 783.65, -17.39, -163.38, 2, 0)
  54. MovementLoopAddLocation(NPC, 787.19, -17.39, -164, 2, 25)
  55. MovementLoopAddLocation(NPC, 785.92, -17.39, -163.64, 2, 0)
  56. MovementLoopAddLocation(NPC, 785.65, -17.39, -162.56, 2, 0)
  57. MovementLoopAddLocation(NPC, 788.23, -16.22, -155.8, 2, 0)
  58. MovementLoopAddLocation(NPC, 789.59, -16.22, -154.94, 2, 0)
  59. MovementLoopAddLocation(NPC, 794.86, -16.22, -152.24, 2, 0)
  60. MovementLoopAddLocation(NPC, 800.14, -16.22, -148.21, 2, 0)
  61. MovementLoopAddLocation(NPC, 799.54, -16.22, -137.6, 2, 0)
  62. MovementLoopAddLocation(NPC, 799.3, -16.22, -134.3, 2, 0)
  63. MovementLoopAddLocation(NPC, 796.99, -16.22, -128.82, 2, 0)
  64. MovementLoopAddLocation(NPC, 797.15, -16.21, -123.55, 2, 0)
  65. MovementLoopAddLocation(NPC, 802.03, -16.05, -119.84, 2, 1)
  66. MovementLoopAddLocation(NPC, 802.03, -16.05, -119.84, 2, 25,"EcologyEmotes")
  67. MovementLoopAddLocation(NPC, 801.26, -16.05, -118.87, 2, 0)
  68. MovementLoopAddLocation(NPC, 793.02, -16.22, -117.35, 2, 0)
  69. MovementLoopAddLocation(NPC, 793.6, -16.22, -110.9, 2, 0)
  70. MovementLoopAddLocation(NPC, 792.76, -16.22, -106.73, 2, 0)
  71. MovementLoopAddLocation(NPC, 788.72, -16.22, -104.35, 2, 0)
  72. MovementLoopAddLocation(NPC, 788.49, -16.22, -105.9, 2, 0)
  73. MovementLoopAddLocation(NPC, 789.06, -16.78, -109.58, 2, 0)
  74. MovementLoopAddLocation(NPC, 789.45, -17.83, -112.26, 2, 0)
  75. MovementLoopAddLocation(NPC, 788.86, -19.97, -117.84, 2, 0)
  76. MovementLoopAddLocation(NPC, 786.78, -19.93, -117.22, 2, 0)
  77. MovementLoopAddLocation(NPC, 786.95, -19.96, -113.39, 2, 0)
  78. MovementLoopAddLocation(NPC, 786.49, -19.98, -108.42, 2, 1)
  79. MovementLoopAddLocation(NPC, 786.49, -19.98, -108.42, 2, 25,"EcologyEmotes")
  80. MovementLoopAddLocation(NPC, 785.14, -19.98, -109.05, 2, 0)
  81. MovementLoopAddLocation(NPC, 783.04, -19.95, -114.27, 2, 0)
  82. MovementLoopAddLocation(NPC, 780.57, -19.98, -120.32, 2, 0)
  83. MovementLoopAddLocation(NPC, 779.09, -19.96, -122.61, 2, 0)
  84. end