OnFlagGrab

From Soldat Community Wiki
Revision as of 11:35, 15 August 2012 by Freeman (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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