KaylelleStarchaser.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/KaylelleStarchaser.lua
  3. Script Purpose : Kaylelle Starchaser
  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_race_good/ft/eco/good/halfelf_eco_race_good_woodelf_gf_1f97d15c.mp3", "May your life be filled with the green of trees and your heart be filled with ...hope.", "", 1410070569, 2067586254, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/optional2/halfelf_eco_race_good/ft/eco/good/halfelf_eco_race_good_hail_gf_c91da8a3.mp3", "I have nothing to say to you right now.", "shrug", 2086714174, 1576219530, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/optional2/halfelf_eco_race_good/ft/eco/good/halfelf_eco_race_good_hail_gf_15163426.mp3", "You talk to strangers? What's the purpose of that?", "", 3457658686, 921014902, 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, 614.94, -20.82, -260.61, 2, math.random(0,8))
  30. MovementLoopAddLocation(NPC, 630.77, -19.78, -256.17, 2, math.random(0,8))
  31. MovementLoopAddLocation(NPC, 644.08, -19.01, -263.39, 2, math.random(0,8))
  32. MovementLoopAddLocation(NPC, 649.33, -20.72, -284.7, 2, math.random(0,8))
  33. MovementLoopAddLocation(NPC, 650.01, -21.79, -293.97, 2, math.random(0,8))
  34. MovementLoopAddLocation(NPC, 649.67, -21.64, -304.66, 2, math.random(0,8))
  35. MovementLoopAddLocation(NPC, 639.98, -20.33, -310.22, 2, math.random(0,8))
  36. MovementLoopAddLocation(NPC, 592.56, -21.15, -316.11, 2, math.random(0,8))
  37. MovementLoopAddLocation(NPC, 558.55, -21.89, -316.44, 2, math.random(0,8))
  38. MovementLoopAddLocation(NPC, 541.91, -18.75, -367.38, 2, math.random(0,8))
  39. MovementLoopAddLocation(NPC, 558.55, -21.89, -316.44, 2, math.random(0,8))
  40. MovementLoopAddLocation(NPC, 592.56, -21.15, -316.11, 2, math.random(0,8))
  41. MovementLoopAddLocation(NPC, 639.98, -20.33, -310.22, 2, math.random(0,8))
  42. MovementLoopAddLocation(NPC, 649.67, -21.64, -304.66, 2, math.random(0,8))
  43. MovementLoopAddLocation(NPC, 650.01, -21.79, -293.97, 2, math.random(0,8))
  44. MovementLoopAddLocation(NPC, 649.33, -20.72, -284.7, 2, math.random(0,8))
  45. MovementLoopAddLocation(NPC, 644.08, -19.01, -263.39, 2, math.random(0,8))
  46. MovementLoopAddLocation(NPC, 630.77, -19.78, -256.17, 2, math.random(0,8))
  47. MovementLoopAddLocation(NPC, 614.94, -20.82, -260.61, 2, math.random(0,8))
  48. end