9
3

MusicianZwena.lua 783 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/MusicianZwena.lua
  3. Script Author : Rylec
  4. Script Date : 2021.08.04 12:08:35
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SpawnSet(NPC, "visual_state", "11420")
  10. SpawnSet(NPC, "action_state", "10989")
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. local voice = MakeRandomInt(1,3)
  15. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1047.mp3", "", "", 0, 0, Spawn)
  16. conversation = CreateConversation()
  17. AddConversationOption(conversation, "Not today, thanks.")
  18. StartConversation(conversation, NPC, Spawn, "Perhaps I could entertain you with a song?")
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end