Difference between revisions of "TOnKillEvent"

From Soldat Community Wiki
Jump to: navigation, search
m (Declaration)
m (declaration was incorrect.)
Line 4: Line 4:
 
==Declaration==
 
==Declaration==
  
  function (Killer, Victim: [[TActivePlayer]]; Bullet: [[TActiveMapBullet]]): Integer
+
  procedure (Killer, Victim: [[TActivePlayer]]; Bullet: [[TActiveMapBullet]]);
 
   Killer: player killing
 
   Killer: player killing
 
   Victim: player being killed
 
   Victim: player being killed

Revision as of 18:10, 8 October 2014

Description

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

Declaration

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