LieoonliooCroosinian.lua 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/LieoonliooCroosinian.lua
  3. Script Purpose : Lieoonlioo Croosinian <Troubador Trainer>
  4. Script Author : John Adams
  5. Script Date : 2008.09.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. conversation = CreateConversation()
  16. choice = math.random(1,2)
  17. if choice == 1 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  19. elseif choice == 2 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1007.mp3", "", "", 0, 0, Spawn)
  21. else
  22. end
  23. PlayFlavor(NPC, "lieoonlioo_croosinian/qey_elddar/trainer_troubador001.mp3", "", "", 484417616, 3729027420, Spawn)
  24. AddConversationOption(conversation, "Just looking around.", "dlg_11_1")
  25. StartConversation(conversation, NPC, Spawn, "Well met, .. GetName(Spawn) .. . What brings you to the Elddar Grove this fine day?")
  26. if convo==12 then
  27. PlayFlavor(NPC, "lieoonlioo_croosinian/qey_elddar/trainer_troubador001.mp3", "", "", 484417616, 3729027420, Spawn)
  28. AddConversationOption(conversation, "Just looking around.", "dlg_12_1")
  29. StartConversation(conversation, NPC, Spawn, "Well met, .. GetName(Spawn) .. . What brings you to the Elddar Grove this fine day?")
  30. end
  31. end
  32. --[[ raw_conversations
  33. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1007.mp3", "", "", 0, 0, Spawn)
  34. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1007.mp3", "", "", 0, 0, Spawn)
  35. --]]