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.
 
 
 

36 lines
675 B

Scriptname _00E_MQ11a_ReanimateOnActivate extends ObjectReference
Event OnInit()
Self.BlockActivation(True)
EndEvent
Event OnActivate(ObjectReference akActionRef)
If (akActionRef == PlayerRef) && (bDone == False)
bDone = True
ActivateLinkedCorpse(EnemyGroup_Child01)
ActivateLinkedCorpse(EnemyGroup_Child02)
ActivateLinkedCorpse(EnemyGroup_Child03)
Self.BlockActivation(False)
EndIf
EndEvent
Function ActivateLinkedCorpse(Keyword kwd)
GetLinkedRef(kwd).Activate(Self)
EndFunction
Actor Property PlayerRef Auto
Keyword Property EnemyGroup_Child01 Auto
Keyword Property EnemyGroup_Child02 Auto
Keyword Property EnemyGroup_Child03 Auto
Bool bDone