OnKill - Actor
Revision as of 07:46, 10 April 2015 by imported>Plplecuyer (→Examples)
Member of: Actor Script
Event called when the actor kills another.
Syntax[edit | edit source]
Event OnKill(Actor akVictim)
Parameters[edit | edit source]
- akVictim: The Actor that this actor killed.
Examples[edit | edit source]
Event OnKill(Actor akVictim)
if (akVictim == Game.GetPlayer())
Debug.Trace("We killed the player!")
endIf
endEvent