9
3

GuardTugar.lua 828 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/GuardTugar.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.06 03:09:13
  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. local choice = MakeRandomInt(1,2)
  14. FaceTarget(NPC, Spawn)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "voiceover/english/island_of_refuge/guard_tugar/ior_guardtugar_004.mp3", "Keep walking... While you still can!", "nod", 146673171, 1820291654, Spawn, 0)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "voiceover/english/island_of_refuge/guard_tugar/ior_guardtugar_002.mp3", "Bash some skulls for me!", "shakefist", 3677270980, 1767623082, Spawn, 0)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end