Difference between revisions of "TOnKillEvent"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Description== Type used by TActivePlayer.OnKill as an event handler type. ==Declaration== function (Killer, Victim: TActivePlayer; WeaponType: Byte): Integer Kil...")
 
(Declaration)
 
(5 intermediate revisions by one other user not shown)
Line 3: Line 3:
  
 
==Declaration==
 
==Declaration==
  function (Killer, Victim: [[TActivePlayer]]; WeaponType: Byte): Integer
+
 
 +
  procedure (Killer, Victim: [[TActivePlayer]]; BulletId: Byte);
 
   Killer: player killing
 
   Killer: player killing
 
   Victim: player being killed
 
   Victim: player being killed
   WeaponType: type of the weapon that dealt the killing blow
+
   Bullet: [[TActiveMapBullet]] object that killed Victim
  
 
[[Category:Types]]
 
[[Category:Types]]

Latest revision as of 00:36, 27 October 2014

Description

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

Declaration

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