GuardLaelyth.lua 901 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/GuardLaelyth.lua
  3. Script Author : Rylec
  4. Script Date : 2021.10.04 07:10:10
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local voice = MakeRandomInt(1,3)
  13. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_"..voice.."_1065.mp3", "", "", 0, 0, Spawn)
  14. local emote = MakeRandomInt(1,3)
  15. if emote == 1 then
  16. Say(NPC, "Greetings illustrious Qeynos citizen!")
  17. PlayAnimation(NPC, 13287)
  18. elseif emote == 2 then
  19. Say(NPC, "Tunare's blessings!")
  20. PlayAnimation(NPC, 12167)
  21. else
  22. Say(NPC, "Our Queen sends her greetings!")
  23. PlayAnimation(NPC, 121)
  24. end
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end