Difference between revisions of "TOnKillEvent"

From Soldat Community Wiki
Jump to: navigation, search
m
m (Declaration)
Line 3: Line 3:
  
 
==Declaration==
 
==Declaration==
{expand|links to Bullet object when it's done}
+
{{expand|links to Bullet object when it's done}}
  
 
  function (Killer, Victim: [[TActivePlayer]]; BulletID: Byte): Integer
 
  function (Killer, Victim: [[TActivePlayer]]; BulletID: Byte): Integer

Revision as of 13:29, 9 August 2013

Description

Type used by TActivePlayer.OnKill as an event handler type.

Declaration

Expand with: links to Bullet object when it's done
function (Killer, Victim: TActivePlayer; BulletID: Byte): Integer
 Killer: player killing
 Victim: player being killed
 BulletID: ID of a bullet that killed Victim