GuardTanglor.lua 902 B

1234567891011121314151617181920212223242526
  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. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. choice = MakeRandomInt(1,2)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "voiceover/english/guard_tanglor/tutorial_island02_fvo_hail2.mp3", "Grand day!", "hello", 1061173021, 910608022, Spawn, 0)
  17. elseif choice ==2 then
  18. 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)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end