Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
766 B
37 lines
766 B
3 years ago
|
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
|