Mod:Creation Kit/OnKill - Actor

Member of: Mod:Creation Kit/Actor Script

Event called when the actor kills another.

Syntax
Event OnKill(Actor akVictim)

Parameters

 * akVictim: The Actor that this actor killed.

Examples
Event OnKill(Actor akVictim) if (akVictim == Game.GetPlayer) Debug.Trace("We killed the player!") endIf endEvent