9
3

ArrelSilvertongue.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/QeynosHarbor/ArrelSilvertongue.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.12 12:06:14
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. SetInfoStructString(NPC, "action_state", "drinking_idle")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. if GetLevel(Spawn)==19 and GetClass(Spawn)==31 then
  15. Dialog.New(NPC, Spawn)
  16. Dialog.AddDialog("Hail nothing! Don't speak that foolishness to me! I can tell there is more to you than just adventuring. Ready to put your skills to a real test?")
  17. Dialog.AddVoiceover("voiceover/english/arrell_silvertongue/qey_harbor/arrellsilvertongue001.mp3",1721901739, 3238691394)
  18. Dialog.AddOption("Not today. Thanks.")
  19. Dialog.Start()
  20. else
  21. Dialog.New(NPC, Spawn)
  22. Dialog.AddDialog("Oh bother! Is it really going to start hailing? I do so hate ill weather...")
  23. -- Dialog.AddVoiceover("voiceover/english/arrell_silvertongue/qey_harbor/arrellsilvertongue000.mp3",?, ?)
  24. PlayFlavor(NPC,"voiceover/english/voice_emotes/greetings/greetings_3_1024.mp3","","sigh",0,0,Spawn)
  25. Dialog.AddOption("No, not that kind of hail!")
  26. Dialog.Start()
  27. end
  28. end
  29. function respawn(NPC)
  30. spawn(NPC)
  31. end