enderalse/source/scripts/_00e_mq12b_infiltratorfailsavesc.psc

21 lines
454 B
Plaintext

Scriptname _00E_MQ12b_InfiltratorFailsaveSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
If MQ12b.GetStage() > 5 && !MQ12b.IsCompleted()
Actor akEnterActor
if _00E_MQ12b_ActorsToKillFailsaveFRMLST.HasForm(akEnterActor.GetActorBase())
akEnterActor.Kill(PlayerREF)
EndIf
EndIf
EndEvent
Actor Property PlayerREF Auto
Quest Property MQ12b Auto
Formlist Property _00E_MQ12b_ActorsToKillFailsaveFRMLST Auto