TOnFlagGrabEvent

From Soldat Community Wiki
Revision as of 10:58, 31 July 2013 by Mighty (talk | contribs) (Created page with "==Description== Type used by TActivePlayer.OnFlagGrab as an event handler type. ==Declaration== procedure (Player: TActivePlayer; TFlag: TActiveFlag; Team: B...")
(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; TFlag: 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