Adrianna.lua 867 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/Adrianna.lua
  3. Script Author : Rylec
  4. Script Date : 2021.08.04 07:08:16
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. SpawnSet(NPC, "visual_state", 0)
  12. FaceTarget(NPC, Spawn)
  13. PlayFlavor(NPC, "voiceover/english/merchant_adrianna/qey_elddar/merchantadrianna000.mp3", "", "hello", 2772064820, 4249063361, Spawn)
  14. conversation = CreateConversation()
  15. AddConversationOption(conversation, "No, I am good to go thanks.")
  16. StartConversation(conversation, NPC, Spawn, "Hello there! Can I interest you in any wares for your travels?")
  17. AddTimer(NPC, 5000, "ResetState")
  18. end
  19. function ResetState(NPC)
  20. SpawnSet(NPC, "visual_state", 11244)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end