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.
SyntaxEdit
Event OnKill(Actor akVictim)
ParametersEdit
- akVictim: The Actor that this actor killed.
ExamplesEdit
Event OnKill(Actor akVictim)
if (akVictim == Game.GetPlayer())
Debug.Trace("We killed the player!")
endIf
endEvent