TOnFlagGrabEvent

From Soldat Community Wiki
Jump to: navigation, search

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