{danger.fa-close}The following fields are a subset of the original objects and include only relevant properties.
| Field | Type | Description |
|---|---|---|
_tint |
int | Bullet color |
_tintRGB |
int | Bullet color (RGB format) |
creator |
int | Entity that created the bullet (preferred) |
initialX |
int | Starting X position |
initialY |
int | Starting Y position |
owner |
int | Entity that owns the bullet |
x |
int | Current X position |
y |
int | Current Y position |
| Field | Type | Description |
|---|---|---|
moving |
bool | Whether the player is moving |
playerId |
bool | Player's id (starts at 1 and increments ever time someone joins) |
rotation |
bool | Player rotation |
shooting |
bool | Whether the player is firing |
usernameText._text |
string | Player username |
x |
int | Current X position |
y |
int | Current Y position |
| Field | Type | Description |
|---|---|---|
_tint |
int | Bullet color |
_tintRGB |
int | Bullet color (RGB format) |
alpha |
int | Opacity of the tower (set to 0 to hide it) |
dotId |
int | Tower's id |
hp |
int | Min: 1, Max: 5 |
lines |
array | List of connected lines |
owner |
int | Player id of who placed the tower |
shield |
obj | Tower's shield |
usernameText._text |
string | Player username |
x |
int | Current X position |
y |
int | Current Y position |
The game assets are nested deeply within the game’s script. The following variables can be used to access them, though availability may vary depending on context.
window.copterAvailability: in-game
This represents your copter (player vehicle).
The extension captures this object and sends relevant data to other extension users so they can correctly render the appropriate skin for each player.
window.teammatesAvailability: all gamemodes with a minimap
Requirements: MiniMapNames
This list contains nearby players (including enemies and teammates). It does not represent the entire map—only players within detectable range.
Object.values(window.teammates).find(
(teammate) => teammate.usernameText._text === 'somePlayerName'
);
window.bulletsAvailability: in-game
Contains active bullet objects currently present in the game.
window.towersAvailability: in-game
Contains tower objects currently loaded in the game.