ThomasBoatmend.lua 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/ThomasBoatmend.lua
  3. Script Purpose : Thomas Boatmend
  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_race_good/ft/eco/good/halfelf_eco_race_good_hail_gm_15163426.mp3", "You talk to strangers? What's the purpose of that?", "", 1620470786, 1752689340, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/halfelf_eco_race_good/ft/eco/good/halfelf_eco_race_good_woodelf_gm_2fa5fd3b.mp3", "We'll have to get together for a goblet of wine sometime soon. Your treat.", "", 2999782150, 334868042, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/halfelf_eco_race_good/ft/eco/good/halfelf_eco_race_good_woodelf_gm_876eb977.mp3", "I wish I had \"good old days\" to remember, like you do. Ah, well. Best to worry about today and not yesterday.", "", 918037021, 185336532, 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, 608.2, -22.42, -262.67, 2, math.random(0,40))
  30. MovementLoopAddLocation(NPC, 628, -19.98, -255.72, 2, math.random(0,8))
  31. MovementLoopAddLocation(NPC, 648.99, -18.69, -259.97, 2, math.random(0,8))
  32. MovementLoopAddLocation(NPC, 668.55, -17.16, -252.57, 2, math.random(0,8))
  33. MovementLoopAddLocation(NPC, 696.95, -16.92, -266.28, 2, math.random(0,8))
  34. MovementLoopAddLocation(NPC, 727.46, -17.12, -283.24, 2, math.random(0,8))
  35. MovementLoopAddLocation(NPC, 748.5, -16.63, -286.53, 2, math.random(0,8))
  36. MovementLoopAddLocation(NPC, 772.33, -18.05, -316.26, 2, math.random(0,8))
  37. MovementLoopAddLocation(NPC, 771.52, -21.32, -339.44, 2, math.random(0,8))
  38. MovementLoopAddLocation(NPC, 769.78, -19.46, -332.72, 2, math.random(0,8))
  39. MovementLoopAddLocation(NPC, 707.06, -17.27, -330.28, 2, math.random(0,8))
  40. MovementLoopAddLocation(NPC, 652.79, -20.69, -284.66, 2, math.random(0,8))
  41. MovementLoopAddLocation(NPC, 648.31, -13.81, -350.1, 2, math.random(0,8))
  42. MovementLoopAddLocation(NPC, 649, -13.04, -360.21, 2, math.random(0,8))
  43. MovementLoopAddLocation(NPC, 705.57, -15.84, -377.92, 2, math.random(0,8))
  44. MovementLoopAddLocation(NPC, 700.97, -16.22, -424.97, 2, math.random(0,8))
  45. MovementLoopAddLocation(NPC, 710.26, -20.39, -450.74, 2, math.random(0,8))
  46. MovementLoopAddLocation(NPC, 700.58, -16.23, -425.43, 2, math.random(0,8))
  47. MovementLoopAddLocation(NPC, 679.65, -12.02, -416.88, 2, math.random(0,40))
  48. MovementLoopAddLocation(NPC, 700.58, -16.23, -425.43, 2, math.random(0,8))
  49. MovementLoopAddLocation(NPC, 710.26, -20.39, -450.74, 2, math.random(0,8))
  50. MovementLoopAddLocation(NPC, 700.97, -16.22, -424.97, 2, math.random(0,8))
  51. MovementLoopAddLocation(NPC, 705.57, -15.84, -377.92, 2, math.random(0,8))
  52. MovementLoopAddLocation(NPC, 649, -13.04, -360.21, 2, math.random(0,8))
  53. MovementLoopAddLocation(NPC, 648.31, -13.81, -350.1, 2, math.random(0,8))
  54. MovementLoopAddLocation(NPC, 652.79, -20.69, -284.66, 2, math.random(0,8))
  55. MovementLoopAddLocation(NPC, 707.06, -17.27, -330.28, 2, math.random(0,8))
  56. MovementLoopAddLocation(NPC, 769.78, -19.46, -332.72, 2, math.random(0,8))
  57. MovementLoopAddLocation(NPC, 771.52, -21.32, -339.44, 2, math.random(0,8))
  58. MovementLoopAddLocation(NPC, 772.33, -18.05, -316.26, 2, math.random(0,8))
  59. MovementLoopAddLocation(NPC, 748.5, -16.63, -286.53, 2, math.random(0,8))
  60. MovementLoopAddLocation(NPC, 727.46, -17.12, -283.24, 2, math.random(0,8))
  61. MovementLoopAddLocation(NPC, 696.95, -16.92, -266.28, 2, math.random(0,8))
  62. MovementLoopAddLocation(NPC, 668.55, -17.16, -252.57, 2, math.random(0,8))
  63. MovementLoopAddLocation(NPC, 648.99, -18.69, -259.97, 2, math.random(0,8))
  64. MovementLoopAddLocation(NPC, 628, -19.98, -255.72, 2, math.random(0,8))
  65. MovementLoopAddLocation(NPC, 608.2, -22.42, -262.67, 2, math.random(0,40))
  66. end