9
3

PriscillaStoneguard.lua 887 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/NorthQeynos/PriscillaStoneguard.lua
  3. Script Purpose : Priscilla Stoneguard
  4. Script Author : Dorbin
  5. Script Date : 2022.04.23
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. PlayFlavor(NPC, "", "Well met friend!", "", 0, 0, Spawn, 0)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,3)
  19. if choice == 1 then
  20. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1009.mp3", 0, 0, Spawn)
  21. elseif choice == 2 then
  22. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1009.mp3", 0, 0, Spawn)
  23. elseif choice == 3 then
  24. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1009.mp3", 0, 0, Spawn)
  25. end
  26. end