OnKill - Actor

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

See AlsoEdit