Difference between revisions of "TActivePlayer.OnKill"

From Soldat Community Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
   Access mode: RW
 
   Access mode: RW
 
   Event handler type: [[TOnKillEvent]]
 
   Event handler type: [[TOnKillEvent]]
   Event handler declaration: procedure (Killer, Victim: TActivePlayer; WeaponType: Byte);
+
   Event handler declaration: procedure (Killer, Victim: [[TActivePlayer]]; BulletId: Byte);
  
 
==Description==
 
==Description==
 +
{{test|Is the Alive property still true?}}
 
Event property called when a player is being killed.<br>
 
Event property called when a player is being killed.<br>
'''Currently WeaponType is bugged and it's value is not predictable'''
 
 
<br>  
 
<br>  
  

Latest revision as of 11:32, 9 September 2016

property OnKill
 Access mode: RW
 Event handler type: TOnKillEvent
 Event handler declaration: procedure (Killer, Victim: TActivePlayer; BulletId: Byte);

Description

Needs testing (Is the Alive property still true?)

Event property called when a player is being killed.

Example

Expand with: example