GuardTanglor.lua 828 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/GuardTanglor.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.04 11:09:26
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. choice = MakeRandomInt(1,2)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/guard_tanglor/tutorial_island02_fvo_hail2.mp3", "Grand day!", "hello", 1061173021, 910608022, Spawn, 0)
  15. elseif choice ==2 then
  16. PlayFlavor(NPC, "voiceover/english/kerran_eco_farsea_1/ft/service/guard/kerran_guard_service_farsea_1_hail_gm_1d37e9de.mp3", "I may be a hired hand of the Far Sea Trading Company, but I take pride in my work.", "sniff", 1219327636, 870968867, Spawn, 0)
  17. end
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end