bz PlayerUpdateState
From BZFlagWiki
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 |