This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

bz PlayerUpdateState

From BZFlagWiki
Jump to navigation Jump to search
BZFS API Documentation This page contains part of the BZFS API documentation for use by Plug-ins on the BZFS server.

Overview

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

Types

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