14 lines
348 B
Plaintext
14 lines
348 B
Plaintext
|
ScriptName _00E_PlayerKillOnEnter Extends ObjectReference
|
||
|
|
||
|
;-- Functions ---------------------------------------
|
||
|
|
||
|
; Skipped compiler generated GetState
|
||
|
|
||
|
; Skipped compiler generated GotoState
|
||
|
|
||
|
Event OnTriggerEnter(ObjectReference akActionRef)
|
||
|
If akActionRef == Game.GetPlayer() as ObjectReference
|
||
|
Game.GetPlayer().Kill(None)
|
||
|
EndIf
|
||
|
EndEvent
|