enderalse/source/scripts/_00e_mq11c_entryfailsaveboxsc.psc

13 lines
301 B
Plaintext

Scriptname _00E_MQ11c_EntryFailsaveBoxSC extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
Actor akActor = akActionRef as Actor
if akActor != PlayerREF && (akActor.GetCombatTarget() == PlayerREF)
akActor.Kill(PlayerREF)
EndIf
EndEvent
Actor Property PlayerREF Auto