|
Bitfighter
021
The Bitfighter Lua Documentation - Robots, Levelgens, and Plugins
|
Get information about a team in the current game.
Member Functions | |
| getColor() | |
| Get the team color. | |
| getIndex() | |
| Get the numerical index of this Team. [details] | |
| getName() | |
| Get the name of the Team. [details] | |
| getPlayerCount() | |
| Get the number of players currently on this team. [details] | |
| getPlayers() | |
| Get a table containing all players on a team. [details] | |
| getScore() | |
| Get the team's current score. [details] | |
Get information about a team in the current game.
The Team object contains data about each team in a game. You can get a team object from several places, including the GameInfo class.
| returns table |
Get the team color.
The team color is a table with 3 values: red, green, blue. These are returned as integers in the range of 0-255
| returns int |
| returns int |
Get the number of players currently on this team.
| returns table |
Get a table containing all players on a team.
| returns int |
Get the team's current score.