enderalse/source/scripts/_00e_mqp02_siriusriqdeathscript.psc

37 lines
766 B
Plaintext
Raw Normal View History

Scriptname _00E_MQP02_SiriusRiqDeathScript extends Actor
Event OnDeath(Actor akKiller)
If akKiller != Game.GetPlayer()
_00E_QuestFunctions.PrintDebugMessage("Sailor killed by Sirius, check for failsave.")
If Self == MQP02_SebaldREF
If MQP02_RiqRef.IsDead() && MQP02.GetStage() < 60
MQP02.SetStage(60)
EndIf
Else
If MQP02_SebaldREF.IsDead() && MQP02.GetStage() < 60
MQP02.SetStage(60)
EndIf
EndIf
Else
if MQP02_RiqRef.IsDead() && MQP02_SebaldREF.IsDead()
MQP02.SetStage(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