Skip to content

Commit

Permalink
modified: mrt_MarkofArkay.bsa
Browse files Browse the repository at this point in the history
modified:   scripts/source/zzzmoaitemcursescript.psc
modified:   scripts/source/zzzmoareviverscript.psc
modified:   scripts/zzzmoaitemcursescript.pex
modified:   scripts/zzzmoareviverscript.pex
  • Loading branch information
mort65 committed Nov 4, 2019
1 parent 2d3ed3e commit 3cd67f8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
Binary file modified Data/mrt_MarkofArkay.bsa
Binary file not shown.
2 changes: 2 additions & 0 deletions Data/scripts/source/zzzmoaitemcursescript.psc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Function RestoreLostItems(Actor ActorRef)
stopandConfirm(ReviveScript.moaPlayerVoicelessQuest)
stopandConfirm(ReviveScript.moaPlayerGhostQuest,3,10)
PlayerRef.SetVoiceRecoveryTime(0.0)
ReviveScript.bPlayerIsVoiceless = False
If ReviveScript.moaSoulMark01.IsRunning()
ReviveScript.NPCScript.RemoveDeadClone()
stopandConfirm(ReviveScript.moaSoulMark01,1)
Expand Down Expand Up @@ -107,6 +108,7 @@ Function DestroyLostItems(Actor ActorRef)
stopandConfirm(ReviveScript.moaPlayerVoicelessQuest)
stopandConfirm(ReviveScript.moaPlayerGhostQuest,3,10)
PlayerRef.SetVoiceRecoveryTime(0.0)
ReviveScript.bPlayerIsVoiceless = False
If ReviveScript.moaSoulMark01.IsRunning()
ReviveScript.NPCScript.RemoveDeadClone()
stopandConfirm(ReviveScript.moaSoulMark01,1)
Expand Down
8 changes: 5 additions & 3 deletions Data/scripts/source/zzzmoareviverscript.psc
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ GlobalVariable Property moaLockReset Auto
Message Property DeathMessage Auto
Bool Property bReadyForRespawn = False Auto Hidden
Bool Property bInfectingPlayer = False Auto Hidden
Bool Property bPlayerIsVoiceless = False Auto Hidden
Bool bIsBusy = False
Float fHealrate = 0.0
Int iIsBeast = 0
Expand Down Expand Up @@ -167,7 +168,7 @@ State Bleedout1
Return
EndIf
SetGameVars()
If moaPlayerVoicelessQuest.IsRunning()
If bPlayerIsVoiceless
PlayerRef.SetVoiceRecoveryTime(9999999.0)
EndIf
EndEvent
Expand Down Expand Up @@ -195,7 +196,7 @@ State Bleedout2
Return
EndIf
SetGameVars()
If moaPlayerVoicelessQuest.IsRunning()
If bPlayerIsVoiceless
PlayerRef.SetVoiceRecoveryTime(9999999.0)
EndIf
EndEvent
Expand Down Expand Up @@ -279,7 +280,7 @@ Event OnPlayerLoadGame()
moaLockReset.SetValue(0)
EndIf
SetGameVars()
If moaPlayerVoicelessQuest.IsRunning()
If bPlayerIsVoiceless
PlayerRef.SetVoiceRecoveryTime(9999999.0)
EndIf
RegisterForSingleUpdate(3.0)
Expand Down Expand Up @@ -1696,6 +1697,7 @@ Function RevivePlayer(Bool bRevive)
moaPlayerVoicelessQuest.Start()
EndIf
PlayerRef.SetVoiceRecoveryTime(9999999.0)
bPlayerIsVoiceless = True
EndIf
If PlayerRef.GetActorValue("paralysis")
PlayerRef.SetActorValue("paralysis",0)
Expand Down
Binary file modified Data/scripts/zzzmoaitemcursescript.pex
Binary file not shown.
Binary file modified Data/scripts/zzzmoareviverscript.pex
Binary file not shown.

0 comments on commit 3cd67f8

Please sign in to comment.