Mod:Creation Kit/OnDeath - Actor

Member of: Mod:Creation Kit/Actor Script

Event called when the actor finishes dying.

Syntax
Event OnDeath(Actor akKiller)

Parameters

 * akKiller: The Actor that killed this one.

Examples
Event OnDeath(Actor akKiller) if (akKiller == Game.GetPlayer) Debug.Trace("We were killed by the player!") endIf endEvent