Difference between revisions of "TOnKillEvent"

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

Revision as of 10:46, 4 October 2014

Description

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

Declaration

function (Killer, Victim: TActivePlayer; Bullet: TActiveMapBullet): Integer
 Killer: player killing
 Victim: player being killed
 Bullet: TActiveMapBullet object that killed Victim