Scriptname _00E_Suntemple_WeatherControlSC extends ObjectReference Event OnTriggerEnter(ObjectReference akActionRef) If akActionRef != PlayerRef Return EndIf If MQ17.GetCurrentStageID() > 5 _00E_MQ17_Purge_Weather.ForceActive(True) _00E_Music_Special_Cleansing.Add() _00E_PlayerFunctions.GetSoundControl().RemoveSilence() _00E_PlayerFunctions.GetSoundControl().RemoveCombatSoundtracks() _00E_SilenceAbruptHighPriority.Remove() _00E_Music_Special_Cleansing.Add() EndIf If MQ14.GetCurrentStageID() >= 10 && MQ14.GetCurrentStageID() < 20 MQ14.PrepareForFinalMission() EndIf If MQ12a.GetCurrentStageID() >= 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_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