VelisarrMorningdew.lua 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/VelisarrMorningdew.lua
  3. Script Purpose : Velisarr Morningdew
  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/halfelf_eco_good_1/ft/halfelf/halfelf_eco_good_1_hail_gf_1f61925a.mp3", "Are my roots showing? I think I'll go for a light blueberry mixed with jum-jum highlights.", "ponder", 4153154191, 497875539, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/halfelf/halfelf_eco_good_1_hail_gf_62804932.mp3", "I'm only happy when it rains. Well.. I like sunny days too. Okay... I'm actually happy all the time.", "confused", 1094375942, 2257836955, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/halfelf_eco_good_1/ft/halfelf/halfelf_eco_good_1_hail_gf_4a0665a0.mp3", "I'm so depressed! I had to work all day!", "sad", 3176397311, 2616932103, Spawn)
  17. else
  18. end
  19. end
  20. function spawn(NPC)
  21. waypoints(NPC)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. end
  26. function respawn(NPC)
  27. end
  28. function waypoints(NPC)
  29. MovementLoopAddLocation(NPC, 605.46, -20.85, -258.55, 2, math.random(0,3))
  30. MovementLoopAddLocation(NPC, 635.95, -19.24, -257.15, 2, math.random(0,3))
  31. MovementLoopAddLocation(NPC, 650.38, -20.6, -283.68, 2, math.random(0,3))
  32. MovementLoopAddLocation(NPC, 651.79, -21.73, -293.48, 2, math.random(0,3))
  33. MovementLoopAddLocation(NPC, 645.56, -13.32, -360.51, 2, math.random(0,3))
  34. MovementLoopAddLocation(NPC, 691.01, -13.83, -373.44, 2, math.random(0,3))
  35. MovementLoopAddLocation(NPC, 684.74, -11.95, -393.07, 2, math.random(0,3))
  36. MovementLoopAddLocation(NPC, 697.74, -14.25, -411.29, 2, math.random(0,3))
  37. MovementLoopAddLocation(NPC, 702.22, -16.71, -426.62, 2, math.random(0,3))
  38. MovementLoopAddLocation(NPC, 711.01, -20.44, -449.76, 2, math.random(0,3))
  39. MovementLoopAddLocation(NPC, 723.23, -21.69, -461.71, 2, math.random(0,3))
  40. MovementLoopAddLocation(NPC, 747.92, -22.31, -474.89, 2, math.random(0,3))
  41. MovementLoopAddLocation(NPC, 778.72, -21.82, -502.99, 2, math.random(0,3))
  42. MovementLoopAddLocation(NPC, 794.88, -22.25, -536.31, 2, math.random(0,3))
  43. MovementLoopAddLocation(NPC, 808.93, -21.16, -532.73, 2, math.random(0,3))
  44. MovementLoopAddLocation(NPC, 794.88, -22.25, -536.31, 2, math.random(0,3))
  45. MovementLoopAddLocation(NPC, 778.72, -21.82, -502.99, 2, math.random(0,3))
  46. MovementLoopAddLocation(NPC, 747.92, -22.31, -474.89, 2, math.random(0,3))
  47. MovementLoopAddLocation(NPC, 723.23, -21.69, -461.71, 2, math.random(0,3))
  48. MovementLoopAddLocation(NPC, 711.01, -20.44, -449.76, 2, math.random(0,3))
  49. MovementLoopAddLocation(NPC, 702.22, -16.71, -426.62, 2, math.random(0,3))
  50. MovementLoopAddLocation(NPC, 697.74, -14.25, -411.29, 2, math.random(0,3))
  51. MovementLoopAddLocation(NPC, 684.74, -11.95, -393.07, 2, math.random(0,3))
  52. MovementLoopAddLocation(NPC, 691.01, -13.83, -373.44, 2, math.random(0,3))
  53. MovementLoopAddLocation(NPC, 645.56, -13.32, -360.51, 2, math.random(0,3))
  54. MovementLoopAddLocation(NPC, 651.79, -21.73, -293.48, 2, math.random(0,3))
  55. MovementLoopAddLocation(NPC, 650.38, -20.6, -283.68, 2, math.random(0,3))
  56. MovementLoopAddLocation(NPC, 635.95, -19.24, -257.15, 2, math.random(0,3))
  57. MovementLoopAddLocation(NPC, 605.46, -20.85, -258.55, 2, math.random(0,3))
  58. end