This wiki is archived and useful information is being migrated to the main bzflag.org website

bz PlayerUpdateState

From BZFlagWiki
Revision as of 22:30, 26 September 2010 by Mrapple (Talk | contribs) (bz_PlayerUpdateState)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.

Overview[edit]

bz_PlayerUpdateState contains useful information that allow plugins to determine a player's state.

Types[edit]

name type value description
falling bool Not driving on the ground or an obstacle
crossingWall bool crossing an obstacle wall
inPhantomZone bool zoned or not
pos float[3] position of the tank
velocity float[3] velocity of the tank
rotation float orientation of the tank
angVel float angular velocity of the tank
phydrv int physics driver the tank is on