enderalse/source/scripts/_00e_killplayeronenter.psc

8 lines
193 B
Plaintext
Raw Normal View History

Scriptname _00E_KillPlayerOnEnter extends ObjectReference
Event OnTriggerEnter(ObjectReference akActionRef)
if akActionRef == Game.GetPlayer()
Game.GetPlayer().Kill(None)
EndIf
EndEvent