Difference between revisions of "OnFlagGrab"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "===From the Scripting Manual=== ''procedure OnFlagGrab(ID, TeamFlag: byte; GrabbedInBase: boolean);'' '''Parameter Info:''' ID (Byte): Player ID of the player who gr...")
 
(No difference)

Latest revision as of 11:35, 15 August 2012

From the Scripting Manual

 procedure OnFlagGrab(ID, TeamFlag: byte; GrabbedInBase: boolean);
 
 Parameter Info:
  ID (Byte): Player ID of the player who grabbed the flag.
  TeamFlag (Byte): Team ID of the flag which was grabbed.
  GrabbedInBase (Boolean): True or False if the flag was grabbed from its original spawn point.
 
 Description:
  This procedure will be called every time a player grabs the enemy flag.

External Links