Kaemon.lua 5.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/Kaemon.lua
  3. Script Purpose : Kaemon
  4. Script Author : John Adams
  5. Script Date : 2008.09.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,3)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_3fc546db.mp3", "As a citizen of the mighty city, Qeynos, I greet you openly.", "salute", 2645256785, 1334313741, Spawn)
  13. elseif choice == 2 then
  14. 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)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_d38d1fff.mp3", "Ah, what have we here? Glad to see you endured the journey here, adventurer.", "wave", 2806352129, 3453714070, Spawn)
  17. else
  18. end
  19. end
  20. function spawn(NPC)
  21. waypoints(NPC)
  22. end
  23. function respawn(NPC)
  24. end
  25. function waypoints(NPC)
  26. MovementLoopAddLocation(NPC, 796.48, -22.29, -532.16, 2, math.random(0,5))
  27. MovementLoopAddLocation(NPC, 784.51, -22.31, -509.94, 2, math.random(0,5))
  28. MovementLoopAddLocation(NPC, 774.51, -21.8, -496.87, 2, math.random(0,5))
  29. MovementLoopAddLocation(NPC, 753.33, -22.02, -475.7, 2, math.random(0,5))
  30. MovementLoopAddLocation(NPC, 720.13, -21.34, -459.29, 2, math.random(0,5))
  31. MovementLoopAddLocation(NPC, 709.1, -19.77, -445.47, 2, math.random(0,5))
  32. MovementLoopAddLocation(NPC, 704.38, -15.94, -433.44, 2, math.random(0,5))
  33. MovementLoopAddLocation(NPC, 699.07, -15.15, -419.15, 2, math.random(0,5))
  34. MovementLoopAddLocation(NPC, 705.79, -15.79, -379.66, 2, math.random(0,5))
  35. MovementLoopAddLocation(NPC, 755.38, -19.33, -378.63, 2, math.random(0,5))
  36. MovementLoopAddLocation(NPC, 755.38, -19.33, -378.63, 2, math.random(0,5))
  37. MovementLoopAddLocation(NPC, 698.79, -14.76, -379.16, 2, math.random(0,5))
  38. MovementLoopAddLocation(NPC, 648.9, -13.1, -359.49, 2, math.random(0,5))
  39. MovementLoopAddLocation(NPC, 638.81, -13.23, -369.1, 2, math.random(0,5))
  40. MovementLoopAddLocation(NPC, 576.91, -21.66, -364.32, 2, math.random(0,5))
  41. MovementLoopAddLocation(NPC, 568.64, -19.87, -373.3, 2, math.random(0,5))
  42. MovementLoopAddLocation(NPC, 550.27, -21.34, -323.28, 2, math.random(0,5))
  43. MovementLoopAddLocation(NPC, 560.2, -21.9, -314.32, 2, math.random(0,5))
  44. MovementLoopAddLocation(NPC, 596.45, -21.15, -314.94, 2, math.random(0,5))
  45. MovementLoopAddLocation(NPC, 648.73, -21.28, -308, 2, math.random(0,5))
  46. MovementLoopAddLocation(NPC, 649.68, -21.67, -304.18, 2, math.random(0,5))
  47. MovementLoopAddLocation(NPC, 650.22, -21.66, -293.1, 2, math.random(0,5))
  48. MovementLoopAddLocation(NPC, 650.98, -18.01, -207.74, 2, math.random(0,5))
  49. MovementLoopAddLocation(NPC, 648.83, -19.38, -271.75, 2, math.random(0,5))
  50. MovementLoopAddLocation(NPC, 681.02, -19.61, -276.77, 2, math.random(0,5))
  51. MovementLoopAddLocation(NPC, 704.77, -17.08, -331.67, 2, math.random(0,5))
  52. MovementLoopAddLocation(NPC, 723.53, -17.55, -330.58, 2, math.random(0,5))
  53. MovementLoopAddLocation(NPC, 747.75, -20.22, -332.03, 2, math.random(0,5))
  54. MovementLoopAddLocation(NPC, 772.13, -19.09, -331.47, 2, math.random(0,5))
  55. MovementLoopAddLocation(NPC, 747.75, -20.22, -332.03, 2, math.random(0,5))
  56. MovementLoopAddLocation(NPC, 723.53, -17.55, -330.58, 2, math.random(0,5))
  57. MovementLoopAddLocation(NPC, 704.77, -17.08, -331.67, 2, math.random(0,5))
  58. MovementLoopAddLocation(NPC, 681.02, -19.61, -276.77, 2, math.random(0,5))
  59. MovementLoopAddLocation(NPC, 648.83, -19.38, -271.75, 2, math.random(0,5))
  60. MovementLoopAddLocation(NPC, 650.98, -18.01, -207.74, 2, math.random(0,5))
  61. MovementLoopAddLocation(NPC, 650.22, -21.66, -293.1, 2, math.random(0,5))
  62. MovementLoopAddLocation(NPC, 649.68, -21.67, -304.18, 2, math.random(0,5))
  63. MovementLoopAddLocation(NPC, 648.73, -21.28, -308, 2, math.random(0,5))
  64. MovementLoopAddLocation(NPC, 596.45, -21.15, -314.94, 2, math.random(0,5))
  65. MovementLoopAddLocation(NPC, 560.2, -21.9, -314.32, 2, math.random(0,5))
  66. MovementLoopAddLocation(NPC, 550.27, -21.34, -323.28, 2, math.random(0,5))
  67. MovementLoopAddLocation(NPC, 568.64, -19.87, -373.3, 2, math.random(0,5))
  68. MovementLoopAddLocation(NPC, 576.91, -21.66, -364.32, 2, math.random(0,5))
  69. MovementLoopAddLocation(NPC, 638.81, -13.23, -369.1, 2, math.random(0,5))
  70. MovementLoopAddLocation(NPC, 648.9, -13.1, -359.49, 2, math.random(0,5))
  71. MovementLoopAddLocation(NPC, 698.79, -14.76, -379.16, 2, math.random(0,5))
  72. MovementLoopAddLocation(NPC, 755.38, -19.33, -378.63, 2, math.random(0,5))
  73. MovementLoopAddLocation(NPC, 755.38, -19.33, -378.63, 2, math.random(0,5))
  74. MovementLoopAddLocation(NPC, 705.79, -15.79, -379.66, 2, math.random(0,5))
  75. MovementLoopAddLocation(NPC, 699.07, -15.15, -419.15, 2, math.random(0,5))
  76. MovementLoopAddLocation(NPC, 704.38, -15.94, -433.44, 2, math.random(0,5))
  77. MovementLoopAddLocation(NPC, 709.1, -19.77, -445.47, 2, math.random(0,5))
  78. MovementLoopAddLocation(NPC, 720.13, -21.34, -459.29, 2, math.random(0,5))
  79. MovementLoopAddLocation(NPC, 753.33, -22.02, -475.7, 2, math.random(0,5))
  80. MovementLoopAddLocation(NPC, 774.51, -21.8, -496.87, 2, math.random(0,5))
  81. MovementLoopAddLocation(NPC, 784.51, -22.31, -509.94, 2, math.random(0,5))
  82. MovementLoopAddLocation(NPC, 796.48, -22.29, -532.16, 2, math.random(0,5))
  83. end