RiddleVandersplunk.lua 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. --[[
  2. Script Name : SpawnScripts/Baubbleshire/RiddleVandersplunk.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.08.23 02:08:51
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 6, "InRange", "LeaveRange")
  11. waypoints(NPC)
  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 respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, 902.92, -17.92, -503.68, 2, 1)
  25. MovementLoopAddLocation(NPC, 902.92, -17.92, -503.68, 2, 25,"EcologyEmotes")
  26. MovementLoopAddLocation(NPC, 902.92, -17.92, -503.68, 2, 25,"EcologyEmotes")
  27. MovementLoopAddLocation(NPC, 902.89, -17.87, -504.15, 2, 0)
  28. MovementLoopAddLocation(NPC, 902.28, -17.89, -503.86, 2, 0)
  29. MovementLoopAddLocation(NPC, 900.3, -17.96, -502.91, 2, 0)
  30. MovementLoopAddLocation(NPC, 900.06, -18.01, -501.55, 2, 0)
  31. MovementLoopAddLocation(NPC, 904.43, -18.13, -499.78, 2, 0)
  32. MovementLoopAddLocation(NPC, 907.47, -17.8, -498.68, 2, 0)
  33. MovementLoopAddLocation(NPC, 910.31, -16.03, -493.93, 2, 0)
  34. MovementLoopAddLocation(NPC, 911.69, -17.2, -488.34, 2, 0)
  35. MovementLoopAddLocation(NPC, 911.36, -17.45, -486.13, 2, 0)
  36. MovementLoopAddLocation(NPC, 908.95, -17.39, -480.01, 2, 0)
  37. MovementLoopAddLocation(NPC, 903.68, -17.43, -474.69, 2, 0)
  38. MovementLoopAddLocation(NPC, 898.93, -18.1, -469.21, 2, 1)
  39. MovementLoopAddLocation(NPC, 898.93, -18.1, -469.21, 2, 20,"EcologyEmotes")
  40. MovementLoopAddLocation(NPC, 897.92, -18.02, -469.18, 2, 0)
  41. MovementLoopAddLocation(NPC, 897.23, -17.97, -469.16, 2, 0)
  42. MovementLoopAddLocation(NPC, 896.41, -17.92, -467.58, 2, 0)
  43. MovementLoopAddLocation(NPC, 897.06, -18.14, -463.56, 2, 0)
  44. MovementLoopAddLocation(NPC, 896.12, -17.94, -451.99, 2, 0)
  45. MovementLoopAddLocation(NPC, 894.88, -15.7, -445.88, 2, 0)
  46. MovementLoopAddLocation(NPC, 892.67, -14.32, -439.77, 2, 0)
  47. MovementLoopAddLocation(NPC, 887.25, -13.67, -433.52, 2, 0)
  48. MovementLoopAddLocation(NPC, 884.09, -13.83, -429.13, 2, 0)
  49. MovementLoopAddLocation(NPC, 879.12, -14.4, -425.95, 2, 0)
  50. MovementLoopAddLocation(NPC, 874.6, -15.08, -425.51, 2, 0)
  51. MovementLoopAddLocation(NPC, 874.2, -15.83, -427.04, 2, 0)
  52. MovementLoopAddLocation(NPC, 872.59, -18.35, -433.25, 2, 0)
  53. MovementLoopAddLocation(NPC, 870.54, -18.41, -437.75, 2, 0)
  54. MovementLoopAddLocation(NPC, 868.2, -18.31, -438.74, 2, 0)
  55. MovementLoopAddLocation(NPC, 862.31, -18.51, -437.57, 2, 0)
  56. MovementLoopAddLocation(NPC, 861.37, -18.32, -439.68, 2, 0)
  57. MovementLoopAddLocation(NPC, 861.37, -18.32, -439.68, 2, 1)
  58. MovementLoopAddLocation(NPC, 861.37, -18.32, -439.68, 2, 25,"EcologyEmotes")
  59. MovementLoopAddLocation(NPC, 861.08, -18.3, -440.15, 2, 0)
  60. MovementLoopAddLocation(NPC, 863.15, -18.22, -443.06, 2, 0)
  61. MovementLoopAddLocation(NPC, 861.06, -18.87, -447.62, 2, 0)
  62. MovementLoopAddLocation(NPC, 857.84, -18.48, -453.13, 2, 0)
  63. MovementLoopAddLocation(NPC, 854.04, -18.9, -459.23, 2, 0)
  64. MovementLoopAddLocation(NPC, 857.15, -18.87, -465.7, 2, 0)
  65. MovementLoopAddLocation(NPC, 859.87, -19.05, -468.68, 2, 0)
  66. MovementLoopAddLocation(NPC, 862.5, -18.2, -472.96, 2, 0)
  67. MovementLoopAddLocation(NPC, 864.69, -19.02, -478.3, 2, 0)
  68. MovementLoopAddLocation(NPC, 862.43, -18.76, -480.65, 2, 0)
  69. MovementLoopAddLocation(NPC, 858.56, -18.66, -481.29, 2, 1)
  70. MovementLoopAddLocation(NPC, 858.56, -18.66, -481.29, 2, 25,"EcologyEmotes")
  71. MovementLoopAddLocation(NPC, 856.48, -18.92, -481.13, 2, 0)
  72. MovementLoopAddLocation(NPC, 856.22, -18.92, -481.88, 2, 0)
  73. MovementLoopAddLocation(NPC, 857.56, -18.66, -484.3, 2, 0)
  74. MovementLoopAddLocation(NPC, 860.94, -18.27, -486.47, 2, 0)
  75. MovementLoopAddLocation(NPC, 866.07, -17.96, -489.35, 2, 0)
  76. MovementLoopAddLocation(NPC, 870.08, -17.83, -493.97, 2, 0)
  77. MovementLoopAddLocation(NPC, 868.66, -17.86, -494.93, 2, 1)
  78. MovementLoopAddLocation(NPC, 868.66, -17.86, -494.93, 2, 25,"EcologyEmotes")
  79. MovementLoopAddLocation(NPC, 867.82, -17.87, -494.8, 2, 0)
  80. MovementLoopAddLocation(NPC, 867.67, -17.82, -493.54, 2, 0)
  81. MovementLoopAddLocation(NPC, 868.62, -17.85, -493.6, 2, 0)
  82. MovementLoopAddLocation(NPC, 870.12, -17.84, -494.57, 2, 0)
  83. MovementLoopAddLocation(NPC, 874.55, -17.18, -503.23, 2, 0)
  84. MovementLoopAddLocation(NPC, 877.5, -17.34, -509.22, 2, 0)
  85. MovementLoopAddLocation(NPC, 877.71, -17.04, -513.6, 2, 0)
  86. MovementLoopAddLocation(NPC, 871.72, -16.47, -520.23, 2, 1)
  87. MovementLoopAddLocation(NPC, 871.72, -16.47, -520.23, 2, 15,"EcologyEmotes")
  88. MovementLoopAddLocation(NPC, 874.12, -16.27, -519.9, 2, 0)
  89. MovementLoopAddLocation(NPC, 878.93, -16.4, -519.24, 2, 0)
  90. MovementLoopAddLocation(NPC, 882.61, -16.35, -518.63, 2, 0)
  91. MovementLoopAddLocation(NPC, 885.43, -16.27, -517.15, 2, 0)
  92. MovementLoopAddLocation(NPC, 888.54, -16.54, -511.11, 2, 0)
  93. MovementLoopAddLocation(NPC, 900.8, -18.02, -502.4, 2, 0)
  94. MovementLoopAddLocation(NPC, 903.84, -18.11, -501.39, 2, 0)
  95. end