ArianaNeovra.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. --[[
  2. Script Name : SpawnScripts/WailingCaves/ArianaNeovra.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.02.23 07:02:59
  5. Script Purpose :
  6. :
  7. --]]
  8. local TheSearchForArianna = 5211
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. PlayFlavor(NPC, "voiceover/english/ariana_neovra/wailingcaves/ariana_neovra/ariana_neovra001.mp3", "", "", 3268815580, 3756097310, Spawn)
  14. conversation = CreateConversation()
  15. if GetQuestStep(Spawn, TheSearchForArianna) == 1 then
  16. AddConversationOption(conversation, "Orwen sent me to look for you.", "dlg1")
  17. end
  18. AddConversationOption(conversation, "Ok, I'll be going then.")
  19. StartConversation(conversation, NPC, Spawn, "There's more than meets the eye here, friend. Don't fret! My destiny is by choice.")
  20. end
  21. function dlg1(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. PlayFlavor(NPC, "voiceover/english/ariana_neovra/wailingcaves/ariana_neovra/ariana_neovra002.mp3", "", "", 612826065, 22365633, Spawn)
  24. conversation = CreateConversation()
  25. AddConversationOption(conversation, "I see, go on.", "dlg2")
  26. StartConversation(conversation, NPC, Spawn, "I miss Orwen so much, but you must understand that I chose to stay here. The orcs were planning an attack on my people, and I made a deal to cooperate with them and halt the attack. While I 'm forced to stay here, at least I know my people, especially Orwen, are safe.")
  27. end
  28. function dlg2(NPC, Spawn)
  29. FaceTarget(NPC, Spawn)
  30. PlayFlavor(NPC, "voiceover/english/ariana_neovra/wailingcaves/ariana_neovra/ariana_neovra003.mp3", "", "", 1549784933, 2459194121, Spawn)
  31. SetStepComplete(Spawn, TheSearchForArianna, 1)
  32. conversation = CreateConversation()
  33. AddConversationOption(conversation, "You are very brave, I'll take this back to Orwen.")
  34. StartConversation(conversation, NPC, Spawn, "If Orwen comes looking for me, they will kill us both and launch their attack. You must make Orwen believe I'm gone. This will force him to move on. Here, take this necklace back to him. He knows I would never part with this necklace if I were alive.")
  35. end
  36. function respawn(NPC)
  37. end