9
3

Kethelrune.lua 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/Kethelrune.lua
  3. Script Purpose : Kethelrune
  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/highelf_eco_good_1/ft/highelf/highelf_eco_good_1_hail_gm_eb4f8f5d.mp3", "I hope you have been sent by someone of importance. I'm quite busy.", "yawn", 111891212, 1507953677, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/highelf_eco_good_1/ft/highelf/highelf_eco_good_1_hail_gm_4fa9c654.mp3", "How do you do! I am always pleased to meet a capable being, such as yourself.", "nod", 4124935177, 986848244, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/highelf_eco_good_1/ft/highelf/highelf_eco_good_1_hail_gm_6d02d4f.mp3", "Hail, friend and well met. I do hope your visits to our village are frequent. Too often do adventurers fail to return.", "stare", 1030195744, 970105613, 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, 805.49, -21.7, -551.99, 2, math.random(0,25))
  27. MovementLoopAddLocation(NPC, 786.92, -22.61, -512.9, 2, math.random(0,5))
  28. MovementLoopAddLocation(NPC, 752.87, -21.98, -477.23, 2, math.random(0,5))
  29. MovementLoopAddLocation(NPC, 717.53, -21.25, -459.67, 2, math.random(0,5))
  30. MovementLoopAddLocation(NPC, 709.29, -19.56, -445.07, 2, math.random(0,5))
  31. MovementLoopAddLocation(NPC, 701.44, -16.56, -426.22, 2, math.random(0,5))
  32. MovementLoopAddLocation(NPC, 701.09, -14.85, -412.3, 2, math.random(0,5))
  33. MovementLoopAddLocation(NPC, 683.34, -11.89, -390.41, 2, math.random(0,5))
  34. MovementLoopAddLocation(NPC, 687.32, -13.38, -371.73, 2, math.random(0,5))
  35. MovementLoopAddLocation(NPC, 668.08, -11.74, -363.53, 2, math.random(0,5))
  36. MovementLoopAddLocation(NPC, 648.9, -13.05, -360.14, 2, math.random(0,5))
  37. MovementLoopAddLocation(NPC, 648.55, -14.81, -343.63, 2, math.random(0,5))
  38. MovementLoopAddLocation(NPC, 648.22, -18.15, -328.01, 2, math.random(0,5))
  39. MovementLoopAddLocation(NPC, 651.9, -21.82, -304.38, 2, math.random(0,5))
  40. MovementLoopAddLocation(NPC, 651.91, -19.07, -268.92, 2, math.random(0,5))
  41. MovementLoopAddLocation(NPC, 635.14, -19.34, -256.68, 2, math.random(0,5))
  42. MovementLoopAddLocation(NPC, 613.61, -20.98, -262.87, 2, math.random(0,5))
  43. MovementLoopAddLocation(NPC, 635.14, -19.34, -256.68, 2, math.random(0,5))
  44. MovementLoopAddLocation(NPC, 651.91, -19.07, -268.92, 2, math.random(0,5))
  45. MovementLoopAddLocation(NPC, 651.9, -21.82, -304.38, 2, math.random(0,5))
  46. MovementLoopAddLocation(NPC, 648.22, -18.15, -328.01, 2, math.random(0,5))
  47. MovementLoopAddLocation(NPC, 648.55, -14.81, -343.63, 2, math.random(0,5))
  48. MovementLoopAddLocation(NPC, 648.9, -13.05, -360.14, 2, math.random(0,5))
  49. MovementLoopAddLocation(NPC, 668.08, -11.74, -363.53, 2, math.random(0,5))
  50. MovementLoopAddLocation(NPC, 687.32, -13.38, -371.73, 2, math.random(0,5))
  51. MovementLoopAddLocation(NPC, 683.34, -11.89, -390.41, 2, math.random(0,5))
  52. MovementLoopAddLocation(NPC, 701.09, -14.85, -412.3, 2, math.random(0,5))
  53. MovementLoopAddLocation(NPC, 701.44, -16.56, -426.22, 2, math.random(0,5))
  54. MovementLoopAddLocation(NPC, 709.29, -19.56, -445.07, 2, math.random(0,5))
  55. MovementLoopAddLocation(NPC, 717.53, -21.25, -459.67, 2, math.random(0,5))
  56. MovementLoopAddLocation(NPC, 752.87, -21.98, -477.23, 2, math.random(0,5))
  57. MovementLoopAddLocation(NPC, 786.92, -22.61, -512.9, 2, math.random(0,5))
  58. MovementLoopAddLocation(NPC, 805.49, -21.7, -551.99, 2, math.random(0,25))
  59. end