TOnFlagGrabEvent

From Soldat Community Wiki
Revision as of 08:14, 5 October 2014 by Mighty (talk | contribs) (Declaration)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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