enderalse/source/scripts/_00e_mq07b_aftermath_playersc.psc

24 lines
706 B
Plaintext

Scriptname _00E_MQ07b_Aftermath_PlayerSC extends ReferenceAlias
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
If MQ07bAftermath.GetStage() == 10 && !bDone
If NQ_G_07Dijaam_SC03_EscapeThroughTomb == None
NQ_G_07Dijaam_SC03_EscapeThroughTomb = Game.GetFormFromFile(0x00147063, "Skyrim.esm") as Scene
EndIf
If (Game.GetPlayer().GetCurrentLocation() == CapitalCityLocation && NQ_G_07Dijaam_SC03_EscapeThroughTomb.IsPlaying() == false)
MQ07bAftermath.SetStage(15)
bDone = True
EndIf
EndIf
EndEvent
bool bDone
Location Property CapitalCityLocation Auto
_00E_MQ07bAftermath_Function Property MQ07bAftermath Auto
Scene Property NQ_G_07Dijaam_SC03_EscapeThroughTomb Auto