9
3

CorrynMenai.lua 1.1 KB

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/CorrynMenai.lua
  3. Script Purpose : Corryn Menai
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. end
  12. function hailed(NPC, Spawn)
  13. local choice = MakeRandomInt(1,3)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_ef2b9651.mp3", "Will you quit pestering me? Don't force me to summon the guards!", "", 3345611839, 1442739842,Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_e58035f3.mp3", "What do you want? Leave me be!", "", 1323474108, 3355478224,Spawn)
  18. elseif choice == 3 then
  19. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_d38d1fff.mp3", "Ah, what have we here? Glad to see you endured the journey here adventurer.", "", 2806352129, 3453714070,Spawn)
  20. end
  21. end