WarbleWildmane.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/WarbleWildmane.lua
  3. Script Purpose : Warble Wildmane
  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. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1006.mp3", "", "", 0, 0, Spawn)
  17. AddConversationOption(conversation, "Sorry to interrupt. Goodbye.", "dlg_7_1")
  18. StartConversation(conversation, NPC, Spawn, "Shh! Old Treebark's talking!")
  19. if convo==8 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1006.mp3", "", "", 0, 0, Spawn)
  21. AddConversationOption(conversation, "Sorry to interrupt. Goodbye.", "dlg_8_1")
  22. StartConversation(conversation, NPC, Spawn, "Shh! Old Treebark's talking!")
  23. end
  24. end
  25. function dlg_7_1(NPC, Spawn)
  26. FaceTarget(NPC, Spawn)
  27. conversation = CreateConversation()
  28. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  29. AddConversationOption(conversation, "Goodbye.", "dlg_7_2")
  30. StartConversation(conversation, NPC, Spawn, "Goodbye!")
  31. end
  32. function dlg_8_1(NPC, Spawn)
  33. FaceTarget(NPC, Spawn)
  34. conversation = CreateConversation()
  35. PlayFlavor(NPC, "", "", "", 0, 0, Spawn)
  36. AddConversationOption(conversation, "Goodbye.", "dlg_8_2")
  37. StartConversation(conversation, NPC, Spawn, "Goodbye!")
  38. end