Difference between revisions of "TOnFlagScoreEvent"

From Soldat Community Wiki
Jump to: navigation, search
m (Declaration)
 
Line 4: Line 4:
 
==Declaration==
 
==Declaration==
 
  procedure (Player: [[TActivePlayer]]; Flag: [[TActiveFlag]]; Team: Byte);
 
  procedure (Player: [[TActivePlayer]]; Flag: [[TActiveFlag]]; 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: ID of the team that scored
+
   Team: Flag team id that a player scored with
  
 
[[Category:Types]]
 
[[Category:Types]]

Latest revision as of 14: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