OnDeferredKill - Actor
Member of: Actor Script
Event called when an actor set to do deferred kill mode gets killed (once). May be called more than once on a single actor before they die. Most useful on flying actors (Vertibirds) which usually enter a "crash mode" when killed in the air but don't actually die until they hit the ground.
Event OnDeferredKill(Actor akKiller)
- akKiller: The Actor that killed this one.
Event OnDeferredKill(Actor akKiller) if (akKiller == Game.GetPlayer()) Debug.Trace("We were killed by the player!") endIf endEvent