tesilah.lua 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. --[[
  2. Script Name : tesilah.lua
  3. Script Purpose : Waypoint Path for tesilah.lua
  4. Script Author : Devn00b
  5. Script Date : 04/11/2020 03:21:57 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local choice = math.random(1,7)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_aoi_gm_2c5409ba.mp3", "Another lovely day in the city of Qeynos!", "sigh", 2759856909, 614688407, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_ef2b9651.mp3", "Will you quit pestering me? Don't force me to summon the guards!", "tapfoot", 3345611839, 1442739842, Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_aoi_gm_4d212798.mp3", "I'm confident that the merchants of our village will fill all equipment needs with the utmost hospitality.", "smile", 2600666744, 586734676, Spawn)
  20. elseif choice == 4 then
  21. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_e58035f3.mp3", "What do you want? Leave me be!", "shrug", 1323474108, 3355478224, Spawn)
  22. elseif choice == 5 then
  23. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_9b2049a3.mp3", "Well met, friend. It's good to make your acquaintance!", "bow", 754727055, 3165426316, Spawn)
  24. elseif choice == 6 then
  25. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_7e3b456a.mp3", "Hail, pleasure to meet you.", "agree", 471367832, 2417424572, Spawn)
  26. elseif choice == 7 then
  27. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_13b79d2d.mp3", "Welcome...welcome traveler, to the fair city of Qeynos! My, isn't it a magnificent day?", "hello", 3746934207, 794965138, Spawn)
  28. else
  29. end
  30. end
  31. function respawn(NPC)
  32. spawn(NPC)
  33. end
  34. function waypoints(NPC)
  35. MovementLoopAddLocation(NPC, 710.44, -19.45, 176.78, 2, 0)
  36. MovementLoopAddLocation(NPC, 708.82, -19.45, 180.77, 2, 0)
  37. MovementLoopAddLocation(NPC, 705.8, -19.54, 188.21, 2, 0)
  38. MovementLoopAddLocation(NPC, 703.43, -19.53, 195.03, 2, 0)
  39. MovementLoopAddLocation(NPC, 690.8, -19.52, 198.95, 2, 0)
  40. MovementLoopAddLocation(NPC, 686.49, -19.52, 213.39, 2, 0)
  41. MovementLoopAddLocation(NPC, 682.72, -19.49, 216.29, 2, 0)
  42. MovementLoopAddLocation(NPC, 637.94, -19.1, 229.9, 2, 0)
  43. MovementLoopAddLocation(NPC, 636.11, -17.14, 224.31, 2, 0)
  44. MovementLoopAddLocation(NPC, 626.03, -17.14, 226.88, 2, 0)
  45. MovementLoopAddLocation(NPC, 610.99, -16.46, 229.12, 2, 0)
  46. MovementLoopAddLocation(NPC, 595.42, -16.57, 232.07, 2, 0)
  47. MovementLoopAddLocation(NPC, 576.71, -16.57, 235.12, 2, 0)
  48. MovementLoopAddLocation(NPC, 573.15, -16.57, 235.49, 2, 0)
  49. MovementLoopAddLocation(NPC, 573.66, -17.93, 241.36, 2, 0)
  50. MovementLoopAddLocation(NPC, 552.73, -17.69, 242.2, 2, 0)
  51. MovementLoopAddLocation(NPC, 531.54, -18.37, 241.84, 2, 0)
  52. MovementLoopAddLocation(NPC, 494.22, -20.02, 239.88, 2, 0)
  53. MovementLoopAddLocation(NPC, 467.68, -21.75, 234.49, 2, 0)
  54. MovementLoopAddLocation(NPC, 458.2, -21.43, 226.86, 2, 0)
  55. MovementLoopAddLocation(NPC, 463.73, -21.39, 213.35, 2, 0)
  56. MovementLoopAddLocation(NPC, 469, -21.28, 200.5, 2, 0)
  57. MovementLoopAddLocation(NPC, 463.68, -20.77, 191.39, 2, 0)
  58. MovementLoopAddLocation(NPC, 469, -21.28, 200.5, 2, 0)
  59. MovementLoopAddLocation(NPC, 463.73, -21.39, 213.35, 2, 0)
  60. MovementLoopAddLocation(NPC, 458.2, -21.43, 226.86, 2, 0)
  61. MovementLoopAddLocation(NPC, 467.68, -21.75, 234.49, 2, 0)
  62. MovementLoopAddLocation(NPC, 494.22, -20.02, 239.88, 2, 0)
  63. MovementLoopAddLocation(NPC, 531.54, -18.37, 241.84, 2, 0)
  64. MovementLoopAddLocation(NPC, 552.73, -17.69, 242.2, 2, 0)
  65. MovementLoopAddLocation(NPC, 573.66, -17.93, 241.36, 2, 0)
  66. MovementLoopAddLocation(NPC, 573.15, -16.57, 235.49, 2, 0)
  67. MovementLoopAddLocation(NPC, 576.71, -16.57, 235.12, 2, 0)
  68. MovementLoopAddLocation(NPC, 595.42, -16.57, 232.07, 2, 0)
  69. MovementLoopAddLocation(NPC, 610.99, -16.46, 229.12, 2, 0)
  70. MovementLoopAddLocation(NPC, 626.03, -17.14, 226.88, 2, 0)
  71. MovementLoopAddLocation(NPC, 636.11, -17.14, 224.31, 2, 0)
  72. MovementLoopAddLocation(NPC, 637.94, -19.1, 229.9, 2, 0)
  73. MovementLoopAddLocation(NPC, 682.72, -19.49, 216.29, 2, 0)
  74. MovementLoopAddLocation(NPC, 686.49, -19.52, 213.39, 2, 0)
  75. MovementLoopAddLocation(NPC, 690.8, -19.52, 198.95, 2, 0)
  76. MovementLoopAddLocation(NPC, 703.43, -19.53, 195.03, 2, 0)
  77. MovementLoopAddLocation(NPC, 705.8, -19.54, 188.21, 2, 0)
  78. MovementLoopAddLocation(NPC, 708.82, -19.45, 180.77, 2, 0)
  79. MovementLoopAddLocation(NPC, 710.44, -19.45, 176.78, 2, 0)
  80. end