4
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
820 B

Scriptname _00E_MQ12b_SC5_CommanderSilvasSC extends ObjectReference
Event OnUpdate()
MQ12b.SetCurrentStageID(47)
if !PlayerREF.IsInCombat()
int iIndex = _00E_MQ12b_CommanderSilvasSoldiers.GetSize()
while iIndex > 0
iIndex -= 1
Actor akActorToKill = _00E_MQ12b_CommanderSilvasSoldiers.GetAt(iIndex) as Actor
akActorToKill.Kill(PlayerREF)
endwhile
EndIf
if _00E_MC_TealorREF.GetDistance(MQ12b_SC13_TealorTalkMarker) >= 450
_00E_MC_TealorREF.MoveTo(MQ12b_SC13_TealorTalkMarker)
EndIf
EndEvent
Event OnDeath(Actor akKiller)
RegisterForSingleUpdate(25)
EndEvent
Actor Property PlayerREF Auto
Actor Property _00E_MC_TealorREF Auto
Quest Property MQ12b Auto
Formlist Property _00E_MQ12b_CommanderSilvasSoldiers Auto
ObjectReference Property MQ12b_SC13_TealorTalkMarker Auto