enderalse/source/scripts/_00e_mqp02_siriusriqdeathscript.psc

37 lines
797 B
Plaintext
Raw Normal View History

Scriptname _00E_MQP02_SiriusRiqDeathScript extends Actor
Event OnDeath(Actor akKiller)
If akKiller != Game.GetPlayer()
_00E_Debug.PrintMessage("Sailor killed by Sirius, check for failsave.")
If Self == MQP02_SebaldREF
2024-01-10 14:08:24 +00:00
If MQP02_RiqRef.IsDead() && MQP02.GetCurrentStageID() < 60
MQP02.SetCurrentStageID(60)
EndIf
Else
2024-01-10 14:08:24 +00:00
If MQP02_SebaldREF.IsDead() && MQP02.GetCurrentStageID() < 60
MQP02.SetCurrentStageID(60)
EndIf
EndIf
Else
if MQP02_RiqRef.IsDead() && MQP02_SebaldREF.IsDead()
2024-01-10 14:08:24 +00:00
MQP02.SetCurrentStageID(60)
EndIf
EndIf
EndEvent
ActorBase Property _00E_MQP02_Sebald Auto
ActorBase Property _00E_MQP02_Riq Auto
Actor Property MQP02_SebaldREF Auto
Actor Property MQP02_RiqRef Auto
Actor Property MQP02_SiriusREF Auto
Quest Property MQP02 Auto