2021-10-05 22:15:58 +00:00
|
|
|
Scriptname _00E_MQP02_SiriusRiqDeathScript extends Actor
|
|
|
|
|
|
|
|
Event OnDeath(Actor akKiller)
|
|
|
|
|
|
|
|
If akKiller != Game.GetPlayer()
|
|
|
|
|
2024-01-09 22:00:18 +00:00
|
|
|
_00E_Debug.PrintMessage("Sailor killed by Sirius, check for failsave.")
|
2021-10-05 22:15:58 +00:00
|
|
|
|
|
|
|
If Self == MQP02_SebaldREF
|
2024-01-10 14:08:24 +00:00
|
|
|
If MQP02_RiqRef.IsDead() && MQP02.GetCurrentStageID() < 60
|
|
|
|
MQP02.SetCurrentStageID(60)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
Else
|
2024-01-10 14:08:24 +00:00
|
|
|
If MQP02_SebaldREF.IsDead() && MQP02.GetCurrentStageID() < 60
|
|
|
|
MQP02.SetCurrentStageID(60)
|
2021-10-05 22:15:58 +00:00
|
|
|
EndIf
|
|
|
|
EndIf
|
|
|
|
|
|
|
|
Else
|
|
|
|
|
|
|
|
if MQP02_RiqRef.IsDead() && MQP02_SebaldREF.IsDead()
|
2024-01-10 14:08:24 +00:00
|
|
|
MQP02.SetCurrentStageID(60)
|
2021-10-05 22:15:58 +00:00
|
|
|
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
|