OverseerIvagora.lua 904 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/TempleSt/OverseerIvagora.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.02 06:10:28
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. local choice = MakeRandomInt(1,2)
  12. if choice == 1 then
  13. PlayFlavor(NPC,"voiceover/english/overseer_ivagora/fprt_hood03/qst_overseer_ivagora_callout1_7a7c78d2.mp3","I am very important! You speak to me only when I speak to you!","stare",629512654,4246602300,Spawn)
  14. elseif choice == 2 then
  15. PlayFlavor(NPC,"voiceover/english/overseer_ivagora/fprt_hood03/qst_overseer_ivagora_callout2_29d95cf.mp3","Here! Here! Here! Refugees come here!!!","beckon",50468124,3582989183,Spawn)
  16. end
  17. if GetQuestStep(Spawn, 5758)==2 then
  18. SetStepComplete(Spawn, 5758,2)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end