enderalse/scripts/source/_00e_suntemple_weathercontrolsc.psc

56 lines
1.3 KiB
Plaintext
Raw Normal View History

Scriptname _00E_Suntemple_WeatherControlSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef != PlayerRef
Return
EndIf
If MQ17.GetStage() > 5
_00E_MQ17_Purge_Weather.ForceActive(True)
_00E_Music_Special_Cleansing.Add()
Levelsystem.RemoveSilence()
Levelsystem.RemoveCombatSoundtracks()
_00E_SilenceAbruptHighPriority.Remove()
_00E_Music_Special_Cleansing.Add()
EndIf
If MQ14.GetStage() >= 10 && MQ14.GetStage() < 20
MQ14.PrepareForFinalMission()
EndIf
If MQ12a.GetStage() >= 5 && !MQ12a.IsCompleted()
_00E_MC_LexREF.MoveTo(MQ12a_SC0_DebugLexStart)
MQ10b_SC4_Tealor.Stop()
EndIf
If bMQ11cWeatherFailsave == False && MQ11c.IsCompleted()
bMQ11cWeatherFailsave = True
MQ11c.ResetSilberhainDeadWeatherFX(False)
EndIf
EndEvent
bool bMQ11cWeatherFailsave
Actor Property PlayerRef Auto
Actor Property _00E_MC_LexREF Auto
_00E_QuestFunctions Property Levelsystem Auto
_00E_MQ11c_Functions Property MQ11c Auto
_00E_MQ14_Functions Property MQ14 Auto
Scene Property MQ10b_SC4_Tealor Auto
Weather Property _00E_MQ17_Purge_Weather Auto
ObjectReference Property MQ12a_SC0_DebugLexStart Auto
MusicType Property _00E_Music_Special_Cleansing Auto
MusicType Property _00E_SilenceAbruptHighPriority Auto
Quest Property MQ12a Auto
Quest Property MQ17 Auto