ArbuthnotJumroller.lua 734 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/ArbuthnotJumroller.lua
  3. Script Author : Rylec
  4. Script Date : 2021.01.18 05:01:36
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. conversation = CreateConversation()
  13. AddConversationOption(conversation, "Thanks, but I need to leave now.")
  14. StartConversation(conversation, NPC, Spawn, "Well, then, what can I do for you?")
  15. math.randomseed(os.time())
  16. voice = math.random(1,3)
  17. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1020.mp3", "", "", 0, 0, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end