Difference between revisions of "TOnFlagGrabEvent"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "==Description== Type used by TActivePlayer.OnFlagGrab as an event handler type. ==Declaration== procedure (Player: TActivePlayer; TFlag: TActiveFlag; Team: B...")
 
m (Declaration)
 
Line 3: Line 3:
  
 
==Declaration==
 
==Declaration==
  procedure (Player: [[TActivePlayer]]; TFlag: [[TActiveFlag]];
+
  procedure (Player: [[TActivePlayer]]; Flag: [[TActiveFlag]];
 
     Team: Byte; GrabbedInBase: Boolean)
 
     Team: Byte; GrabbedInBase: Boolean)
 
   Player: player grabbing the flag
 
   Player: player grabbing the flag

Latest revision as of 08:14, 5 October 2014

Description

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

Declaration

procedure (Player: TActivePlayer; Flag: TActiveFlag;
   Team: Byte; GrabbedInBase: Boolean)
 Player: player grabbing the flag
 Flag: flag being grabbed
 Team: id of the team grabbing the flag
 GrabbedInBase: TRUE if the flag has been grabbed at it's spawnpoint