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.
 
 
 

46 lines
864 B

Scriptname _00E_MQ12b_TealorCombatSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == PlayerREF
if MQ12b.GetCurrentStageID() >= 30 && MQ12b.GetCurrentStageID() < 40
if _00E_MC_TealorREF.IsInCombat()
_00E_MC_TealorREF.StopCombat()
_00E_MC_TealorREF.StopCombatAlarm()
EndIf
EndIf
if !bDone
bDone = True
int iIndex = _00E_MQ12b_InfiltratorsInMarketFrmlst.GetSize()
while iIndex > 0
iIndex -= 1
Actor akActor = _00E_MQ12b_InfiltratorsInMarketFrmlst.GetAt(iIndex) as Actor
if !akActor.IsDead()
akActor.Kill(akActor)
endif
endwhile
endif
EndIf
EndEvent
bool bDone
Actor Property _00E_MC_TealorREF Auto
Actor Property PlayerREF Auto
Formlist Property _00E_MQ12b_InfiltratorsInMarketFrmlst Auto
Quest Property MQ12b Auto