OutlandSentryDunand.lua 909 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/OutlandSentryDunand.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.18 01:06:36
  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. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function death(NPC,Spawn)
  19. local choice = MakeRandomInt(1,2)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/optional5/human_steppes/ft/human/human_steppes_1_death_gm_85ef3300.mp3", "No! That was my friend!", "", 572896703, 552083718, Spawn, 0)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "voiceover/english/optional5/human_steppes/ft/human/human_steppes_1_death_gm_f56b206a.mp3", "At least they died with their boots on.", "", 2785078984, 3057500781, Spawn, 0)
  24. end
  25. end