9
3

warmhearth.lua 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. --[[
  2. Script Name : warmhearth.lua
  3. Script Purpose : Waypoint Path for warmhearth.lua
  4. Script Author : Devn00b
  5. Script Date : 04/15/2020 05:15:54 PM
  6. Script Notes : Locations collected from Live
  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, 473.51, -18.95, -344.36, 2, 0)
  22. MovementLoopAddLocation(NPC, 466.21, -20.6, -330.44, 2, 0)
  23. MovementLoopAddLocation(NPC, 467.77, -20.32, -314.52, 2, 0)
  24. MovementLoopAddLocation(NPC, 467.2, -20.23, -310.74, 2, 0)
  25. MovementLoopAddLocation(NPC, 465.14, -20.17, -308.17, 2, 0)
  26. MovementLoopAddLocation(NPC, 460.92, -20.15, -304.61, 2, 0)
  27. MovementLoopAddLocation(NPC, 435.73, -20.73, -282.21, 2, 0)
  28. MovementLoopAddLocation(NPC, 432.18, -20.8, -271.51, 2, 0)
  29. MovementLoopAddLocation(NPC, 438.24, -20.79, -257.19, 2, 0)
  30. MovementLoopAddLocation(NPC, 438.97, -20.98, -236.33, 2, 0)
  31. MovementLoopAddLocation(NPC, 439.2, -19.53, -204.53, 2, 0)
  32. MovementLoopAddLocation(NPC, 437.09, -17.59, -188.2, 2, 0)
  33. MovementLoopAddLocation(NPC, 430.47, -17.26, -165.48, 2, 0)
  34. MovementLoopAddLocation(NPC, 408.93, -23.36, -128.37, 2, 0)
  35. MovementLoopAddLocation(NPC, 400.08, -23.04, -111.19, 2, 0)
  36. MovementLoopAddLocation(NPC, 397.49, -18.04, -98.65, 2, 0)
  37. MovementLoopAddLocation(NPC, 396.71, -16.01, -87.76, 2, 0)
  38. MovementLoopAddLocation(NPC, 395.93, -16.45, -43.55, 2, 0)
  39. MovementLoopAddLocation(NPC, 388.33, -17.91, -24.17, 2, 0)
  40. MovementLoopAddLocation(NPC, 379.2, -19.16, -22.46, 2, 0)
  41. MovementLoopAddLocation(NPC, 329.78, -21.53, -21.26, 2, 0)
  42. MovementLoopAddLocation(NPC, 303.64, -21.08, 1, 2, 0)
  43. MovementLoopAddLocation(NPC, 301.14, -21.02, 0.38, 2, 0)
  44. MovementLoopAddLocation(NPC, 286, -21.29, -1.56, 2, 0)
  45. MovementLoopAddLocation(NPC, 277.1, -20.49, 7.75, 2, 0)
  46. MovementLoopAddLocation(NPC, 256.71, -20.62, 28.95, 2, 0)
  47. MovementLoopAddLocation(NPC, 252.41, -20.17, 33.24, 2, 0)
  48. MovementLoopAddLocation(NPC, 252.97, -19.55, 39.51, 2, 0)
  49. MovementLoopAddLocation(NPC, 259.19, -17.94, 57.48, 2, 0)
  50. MovementLoopAddLocation(NPC, 262.97, -16.05, 68.11, 2, 0)
  51. MovementLoopAddLocation(NPC, 268.44, -14.71, 72.63, 2, 0)
  52. MovementLoopAddLocation(NPC, 282.75, -13.1, 79.69, 2, 0)
  53. MovementLoopAddLocation(NPC, 287.08, -13.06, 96.74, 2, 0)
  54. MovementLoopAddLocation(NPC, 293.58, -12.79, 103.17, 2, 0)
  55. MovementLoopAddLocation(NPC, 296.41, -13.53, 115.15, 2, 0)
  56. MovementLoopAddLocation(NPC, 299.34, -14.58, 128.01, 2, 0)
  57. MovementLoopAddLocation(NPC, 303.22, -16.58, 145.4, 2, 0)
  58. MovementLoopAddLocation(NPC, 306.43, -17.59, 153.17, 2, 0)
  59. MovementLoopAddLocation(NPC, 317.31, -18, 165.63, 2, 0)
  60. MovementLoopAddLocation(NPC, 326.97, -18.43, 169.78, 2, 0)
  61. MovementLoopAddLocation(NPC, 334.54, -19, 169.12, 2, 0)
  62. MovementLoopAddLocation(NPC, 346.84, -20.02, 165.85, 2, 0)
  63. MovementLoopAddLocation(NPC, 357.4, -19.95, 160.55, 2, 0)
  64. MovementLoopAddLocation(NPC, 370.99, -20.41, 149.99, 2, 0)
  65. MovementLoopAddLocation(NPC, 378.91, -20.67, 140.97, 2, 0)
  66. MovementLoopAddLocation(NPC, 378.59, -20.72, 134.44, 2, 0)
  67. MovementLoopAddLocation(NPC, 373.5, -20.72, 131.74, 2, 0)
  68. MovementLoopAddLocation(NPC, 367.77, -20.97, 132.14, 2, 0)
  69. MovementLoopAddLocation(NPC, 362.19, -20.97, 131.55, 2, 0)
  70. MovementLoopAddLocation(NPC, 353.12, -20.96, 128.83, 2, 0)
  71. MovementLoopAddLocation(NPC, 348.41, -20.88, 130.56, 2, 0)
  72. MovementLoopAddLocation(NPC, 344.19, -20.95, 135.05, 2, 0)
  73. MovementLoopAddLocation(NPC, 348.41, -20.88, 130.56, 2, 0)
  74. MovementLoopAddLocation(NPC, 353.12, -20.96, 128.83, 2, 0)
  75. MovementLoopAddLocation(NPC, 362.19, -20.97, 131.55, 2, 0)
  76. MovementLoopAddLocation(NPC, 367.77, -20.97, 132.14, 2, 0)
  77. MovementLoopAddLocation(NPC, 373.5, -20.72, 131.74, 2, 0)
  78. MovementLoopAddLocation(NPC, 378.59, -20.72, 134.44, 2, 0)
  79. MovementLoopAddLocation(NPC, 378.91, -20.67, 140.97, 2, 0)
  80. MovementLoopAddLocation(NPC, 370.99, -20.41, 149.99, 2, 0)
  81. MovementLoopAddLocation(NPC, 357.4, -19.95, 160.55, 2, 0)
  82. MovementLoopAddLocation(NPC, 346.84, -20.02, 165.85, 2, 0)
  83. MovementLoopAddLocation(NPC, 334.54, -19, 169.12, 2, 0)
  84. MovementLoopAddLocation(NPC, 326.97, -18.43, 169.78, 2, 0)
  85. MovementLoopAddLocation(NPC, 317.31, -18, 165.63, 2, 0)
  86. MovementLoopAddLocation(NPC, 306.43, -17.59, 153.17, 2, 0)
  87. MovementLoopAddLocation(NPC, 303.22, -16.58, 145.4, 2, 0)
  88. MovementLoopAddLocation(NPC, 299.34, -14.58, 128.01, 2, 0)
  89. MovementLoopAddLocation(NPC, 296.41, -13.53, 115.15, 2, 0)
  90. MovementLoopAddLocation(NPC, 293.58, -12.79, 103.17, 2, 0)
  91. MovementLoopAddLocation(NPC, 287.08, -13.06, 96.74, 2, 0)
  92. MovementLoopAddLocation(NPC, 282.75, -13.1, 79.69, 2, 0)
  93. MovementLoopAddLocation(NPC, 268.44, -14.71, 72.63, 2, 0)
  94. MovementLoopAddLocation(NPC, 262.97, -16.05, 68.11, 2, 0)
  95. MovementLoopAddLocation(NPC, 259.19, -17.94, 57.48, 2, 0)
  96. MovementLoopAddLocation(NPC, 252.97, -19.55, 39.51, 2, 0)
  97. MovementLoopAddLocation(NPC, 252.41, -20.17, 33.24, 2, 0)
  98. MovementLoopAddLocation(NPC, 256.71, -20.62, 28.95, 2, 0)
  99. MovementLoopAddLocation(NPC, 277.1, -20.49, 7.75, 2, 0)
  100. MovementLoopAddLocation(NPC, 286, -21.29, -1.56, 2, 0)
  101. MovementLoopAddLocation(NPC, 301.14, -21.02, 0.38, 2, 0)
  102. MovementLoopAddLocation(NPC, 303.64, -21.08, 1, 2, 0)
  103. MovementLoopAddLocation(NPC, 329.78, -21.53, -21.26, 2, 0)
  104. MovementLoopAddLocation(NPC, 379.2, -19.16, -22.46, 2, 0)
  105. MovementLoopAddLocation(NPC, 388.33, -17.91, -24.17, 2, 0)
  106. MovementLoopAddLocation(NPC, 395.93, -16.45, -43.55, 2, 0)
  107. MovementLoopAddLocation(NPC, 396.71, -16.01, -87.76, 2, 0)
  108. MovementLoopAddLocation(NPC, 397.49, -18.04, -98.65, 2, 0)
  109. MovementLoopAddLocation(NPC, 400.08, -23.04, -111.19, 2, 0)
  110. MovementLoopAddLocation(NPC, 408.93, -23.36, -128.37, 2, 0)
  111. MovementLoopAddLocation(NPC, 430.47, -17.26, -165.48, 2, 0)
  112. MovementLoopAddLocation(NPC, 437.09, -17.59, -188.2, 2, 0)
  113. MovementLoopAddLocation(NPC, 439.2, -19.53, -204.53, 2, 0)
  114. MovementLoopAddLocation(NPC, 438.97, -20.98, -236.33, 2, 0)
  115. MovementLoopAddLocation(NPC, 438.24, -20.79, -257.19, 2, 0)
  116. MovementLoopAddLocation(NPC, 432.18, -20.8, -271.51, 2, 0)
  117. MovementLoopAddLocation(NPC, 435.73, -20.73, -282.21, 2, 0)
  118. MovementLoopAddLocation(NPC, 460.92, -20.15, -304.61, 2, 0)
  119. MovementLoopAddLocation(NPC, 465.14, -20.17, -308.17, 2, 0)
  120. MovementLoopAddLocation(NPC, 467.2, -20.23, -310.74, 2, 0)
  121. MovementLoopAddLocation(NPC, 467.77, -20.32, -314.52, 2, 0)
  122. MovementLoopAddLocation(NPC, 466.21, -20.6, -330.44, 2, 0)
  123. MovementLoopAddLocation(NPC, 473.51, -18.95, -344.36, 2, 0)
  124. end