ShayneWellhouse.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/ShayneWellhouse.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.12 04:06:32
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. SetPlayerProximityFunction(NPC, 6, "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, 903.34, -25.35, -62.77, 2, 15)
  22. MovementLoopAddLocation(NPC, 899.06, -25.48, -61.51, 2, 0)
  23. MovementLoopAddLocation(NPC, 897.75, -25.45, -55.11, 2, 0)
  24. MovementLoopAddLocation(NPC, 902.25, -23.49, -36.16, 2, 0)
  25. MovementLoopAddLocation(NPC, 906.57, -25.37, -11.81, 2, 0)
  26. MovementLoopAddLocation(NPC, 904.85, -25.37, 9.54, 2, 0)
  27. MovementLoopAddLocation(NPC, 899.5, -25.37, 32.59, 2, 0)
  28. MovementLoopAddLocation(NPC, 907.69, -25.3, 43.09, 2, 0)
  29. MovementLoopAddLocation(NPC, 920.13, -25.49, 52.6, 2, 0)
  30. MovementLoopAddLocation(NPC, 922.14, -25.49, 60.83, 2, 0)
  31. MovementLoopAddLocation(NPC, 922.49, -25.56, 68.3, 2, 0)
  32. MovementLoopAddLocation(NPC, 930.47, -25.56, 72.23, 2, 0)
  33. MovementLoopAddLocation(NPC, 928.38, -25.43, 84.87, 2, 0)
  34. MovementLoopAddLocation(NPC, 932.41, -25.42, 88.27, 2, 0)
  35. MovementLoopAddLocation(NPC, 931.19, -25.27, 92.46, 2, 0)
  36. MovementLoopAddLocation(NPC, 960.55, -25.27, 104.87, 2, 0)
  37. MovementLoopAddLocation(NPC, 966.96, -25.45, 100.66, 2, 0)
  38. MovementLoopAddLocation(NPC, 971.67, -25.43, 110.25, 2, 0)
  39. MovementLoopAddLocation(NPC, 976.77, -25.45, 119.81, 2, 35)
  40. MovementLoopAddLocation(NPC, 977.11, -25.45, 119.49, 2, 0)
  41. MovementLoopAddLocation(NPC, 974.04, -25.56, 96.5, 2, 0)
  42. MovementLoopAddLocation(NPC, 976.42, -25.56, 87.2, 2, 0)
  43. MovementLoopAddLocation(NPC, 977.55, -25.56, 76.46, 2, 0)
  44. MovementLoopAddLocation(NPC, 976.49, -25.56, 74.53, 2, 0)
  45. MovementLoopAddLocation(NPC, 971.03, -25.56, 73.32, 2, 0)
  46. MovementLoopAddLocation(NPC, 962.26, -25.47, 95.88, 2, 0)
  47. MovementLoopAddLocation(NPC, 959.68, -25.27, 105.62, 2, 0)
  48. MovementLoopAddLocation(NPC, 957.26, -25.27, 111.35, 2, 0)
  49. MovementLoopAddLocation(NPC, 947.6, -25.27, 111.07, 2, 0)
  50. MovementLoopAddLocation(NPC, 932.41, -25.27, 104.14, 2, 0)
  51. MovementLoopAddLocation(NPC, 926.99, -25.27, 102.48, 2, 0)
  52. MovementLoopAddLocation(NPC, 927.07, -25.27, 102.18, 2, 35)
  53. MovementLoopAddLocation(NPC, 927.95, -25.27, 97.34, 2, 0)
  54. MovementLoopAddLocation(NPC, 912.67, -25.32, 91.38, 2, 0)
  55. MovementLoopAddLocation(NPC, 910.36, -25.36, 84.37, 2, 0)
  56. MovementLoopAddLocation(NPC, 919.35, -25.49, 61.51, 2, 0)
  57. MovementLoopAddLocation(NPC, 907.75, -25.31, 49.97, 2, 0)
  58. MovementLoopAddLocation(NPC, 896.25, -25.4, 40.67, 2, 0)
  59. MovementLoopAddLocation(NPC, 901, -25.41, 9.77, 2, 0)
  60. MovementLoopAddLocation(NPC, 901.16, -25.44, -6.62, 2, 0)
  61. MovementLoopAddLocation(NPC, 898.01, -25.34, -26.66, 2, 0)
  62. MovementLoopAddLocation(NPC, 891.12, -25.37, -48.57, 2, 0)
  63. MovementLoopAddLocation(NPC, 883.34, -25.36, -47.14, 2, 35)
  64. MovementLoopAddLocation(NPC, 896.26, -25.47, -63.87, 2, 0)
  65. end