ArthurWaterway.lua 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/ArthurWaterway.lua
  3. Script Purpose : Arthur Waterway
  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/optional2/halfelf_eco_good_2/ft/halfelf/halfelf_eco_good_2_hail_gm_768a0c8b.mp3", "Everywhere is walking distance if you have the time.", "wink", 2228417017, 3880753774, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/optional2/halfelf_eco_good_2/ft/halfelf/halfelf_eco_good_2_hail_gm_ea435b69.mp3", "I'm going to get some piercings so I can be unique like everyone else.", "yeah", 2468101640, 903029053, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/optional2/halfelf_eco_good_2/ft/halfelf/halfelf_eco_good_2_hail_gm_666e9477.mp3", "I think the word dual-breed has a little more dignity than half-elf, don't you?", "ponder", 3563191265, 3563670932, 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, 802.94, -21.54, -552.06, 2, math.random(0,5))
  30. MovementLoopAddLocation(NPC, 781.61, -22.18, -510.68, 2, math.random(0,5))
  31. MovementLoopAddLocation(NPC, 754.8, -21.82, -481.71, 2, math.random(0,5))
  32. MovementLoopAddLocation(NPC, 713.01, -20.96, -456.39, 2, math.random(0,5))
  33. MovementLoopAddLocation(NPC, 701.91, -16.92, -427.47, 2, math.random(0,5))
  34. MovementLoopAddLocation(NPC, 691.7, -13.19, -403.38, 2, math.random(0,5))
  35. MovementLoopAddLocation(NPC, 678.25, -11.64, -393.92, 2, math.random(0,5))
  36. MovementLoopAddLocation(NPC, 650.19, -11.56, -399.55, 2, math.random(0,5))
  37. MovementLoopAddLocation(NPC, 640.41, -13.1, -371.98, 2, math.random(0,5))
  38. MovementLoopAddLocation(NPC, 609.56, -18.44, -369.61, 2, math.random(0,5))
  39. MovementLoopAddLocation(NPC, 562.49, -20.75, -362.57, 2, math.random(0,5))
  40. MovementLoopAddLocation(NPC, 539.17, -20.64, -292.83, 2, math.random(0,5))
  41. MovementLoopAddLocation(NPC, 562.36, -19.83, -268.2, 2, math.random(0,5))
  42. MovementLoopAddLocation(NPC, 591.98, -21.09, -255.38, 2, math.random(0,5))
  43. MovementLoopAddLocation(NPC, 562.36, -19.83, -268.2, 2, math.random(0,5))
  44. MovementLoopAddLocation(NPC, 539.17, -20.64, -292.83, 2, math.random(0,5))
  45. MovementLoopAddLocation(NPC, 562.49, -20.75, -362.57, 2, math.random(0,5))
  46. MovementLoopAddLocation(NPC, 609.56, -18.44, -369.61, 2, math.random(0,5))
  47. MovementLoopAddLocation(NPC, 640.41, -13.1, -371.98, 2, math.random(0,5))
  48. MovementLoopAddLocation(NPC, 650.19, -11.56, -399.55, 2, math.random(0,5))
  49. MovementLoopAddLocation(NPC, 678.25, -11.64, -393.92, 2, math.random(0,5))
  50. MovementLoopAddLocation(NPC, 691.7, -13.19, -403.38, 2, math.random(0,5))
  51. MovementLoopAddLocation(NPC, 701.91, -16.92, -427.47, 2, math.random(0,5))
  52. MovementLoopAddLocation(NPC, 713.01, -20.96, -456.39, 2, math.random(0,5))
  53. MovementLoopAddLocation(NPC, 754.8, -21.82, -481.71, 2, math.random(0,5))
  54. MovementLoopAddLocation(NPC, 781.61, -22.18, -510.68, 2, math.random(0,5))
  55. MovementLoopAddLocation(NPC, 802.94, -21.54, -552.06, 2, math.random(0,5))
  56. end