Difference between revisions of "TOnKillEvent"

From Soldat Community Wiki
Jump to: navigation, search
m (Declaration: 2.7.8.b1 declaration change)
(Declaration)
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
  
 
==Declaration==
 
==Declaration==
{{expand|links to Bullet object when it's done}}
 
  
  function (Killer, Victim: [[TActivePlayer]]; Bullet: [[TActiveMapBullet]]): Integer
+
  procedure (Killer, Victim: [[TActivePlayer]]; BulletId: Byte);
 
   Killer: player killing
 
   Killer: player killing
 
   Victim: player being killed
 
   Victim: player being killed

Latest revision as of 23:36, 26 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