Scriptname __LALLFadeActorAfterTimeScript extends ReferenceAlias  
{Checks for quest stages. If quest is between stages, it will fade out the actor after time has elapsed}

Int Property StageMin Auto
Int Property StageMax Auto
Quest Property QuestToCheck Auto
ObjectReference Property RefToDisable Auto Hidden

Event OnInit()
RegisterForSingleUpdate(15.0)
EndEvent

Event OnUpdate()
int CurrentStage = QuestToCheck.GetStage()

if CurrentStage >= StageMin && CurrentStage <= StageMax
RefToDisable = self.GetActorReference()
Utility.Wait(120.0)
RefToDisable.Disable()
else
RegisterForSingleUpdate(15.0)
endif

EndEvent