Scriptname TescosLITSQuestSaveTheCount extends ReferenceAlias

{ When the Count Begin to Die change quest stage and teleport the Count to safety }

Actor Property TescosLITSDarkLordBran Auto   			    ;the Count reference
ObjectReference Property TescosCountsSafetySpot Auto     ;Teleport Count to safety marker reference

Event OnDying(Actor akKiller)
	if (GetOwningQuest().GetStage()==30)
		GetOwningQuest().SetStage(40)
		TescosLITSDarkLordBran.MoveTo(TescosCountsSafetySpot)
		TescosLITSDarkLordBran.Resurrect() 	   ;Resurrect the Dark Lord 	
	EndIf
EndEvent  
