Difference between revisions of "TOnFlagScoreEvent"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Description== Type used by TActivePlayer.OnFlagScore as an event handler type. ==Declaration== procedure (Player: TActivePlayer; Flag: TActiveFlag; Team: B...")
 
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
==Declaration==
 
==Declaration==
  procedure (Player: [[TActivePlayer]]; Flag: [[TActiveFlag]];
+
  procedure (Player: [[TActivePlayer]]; Flag: [[TActiveFlag]]; Team: Byte);
    Team: Byte);
+
   Player: Player that has just scored a flagpoint
   Player: player that has just scored a flagpoint
+
   Flag: Flag that a player scored with
   Flag: flag that a player scored with
+
   Team: Flag team id that a player scored with
   Team: ID of the team that scored
 
  
 
[[Category:Types]]
 
[[Category:Types]]

Latest revision as of 13:57, 7 December 2017

Description

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

Declaration

procedure (Player: TActivePlayer; Flag: TActiveFlag; Team: Byte);
 Player: Player that has just scored a flagpoint
 Flag: Flag that a player scored with
 Team: Flag team id that a player scored with