ShireenFarenDelnara.lua 692 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/ShireenFarenDelnara.lua
  3. Script Author : Rylec
  4. Script Date : 2021.01.24 04:01:40
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 12, "InRange")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local voice = MakeRandomInt(1,3)
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1061.mp3", "", "", 0, 0, Spawn)
  15. InRange(NPC)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function InRange(NPC)
  21. PlayFlavor(NPC, "", "Ayr'Dal are brave, even when we are scared.", "nod", 0, 0, Spawn)
  22. end