enderalse/source/scripts/_00e_mq07b_aftermath_playersc.psc

24 lines
724 B
Plaintext
Raw Normal View History

Scriptname _00E_MQ07b_Aftermath_PlayerSC extends ReferenceAlias
Event OnLocationChange(Location akOldLoc, Location akNewLoc)
2024-01-10 14:08:24 +00:00
If MQ07bAftermath.GetCurrentStageID() == 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)
2024-01-10 14:08:24 +00:00
MQ07bAftermath.SetCurrentStageID(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