generated from the code
Player
BF22142Heroes
17 commands. A game cell holds the argument types (and the return type after ->) that game registers; empty: the game does not have the command. Back to the console reference.
Scope badges
serveronly the server reads it: a mod on the server alone takes effect, players need nothingclientonly the game client reads it (drawing, sound, HUD): every player who should see it needs the modsharedthe server and every client read it: both need the same files, or the clients' view jumpsyesthe game has it; nobody has classified its scope yet
BF22142HeroesA game column holds that game's badge and the argument types its program registers; an empty cell means the game does not know the name. The Notes column gives the reason (how the scopes are worked out).
| Name | BF2 | 2142 | Heroes | Notes |
|---|---|---|---|---|
Player.active | yes IPlayer* -> IPlayer* | yes IPlayer* -> IPlayer* | yes IPlayer* -> IPlayer* | property |
Player.create | yes std::string, std::string -> IPlayer* | yes std::string, std::string -> IPlayer* | yes std::string, std::string -> IPlayer* | method |
player.isAi | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
player.isAlive | yes bool -> bool | property | ||
player.isNetwork | yes bool -> bool | yes bool -> bool | yes bool -> bool | property |
player.kit | yes int -> int | property | ||
Player.list | yes -> std::string | yes -> std::string | yes -> std::string | method |
Player.listPlayerClasses | yes -> std::string | yes -> std::string | yes -> std::string | method |
player.moveTo | yes Vec3 -> std::string | yes Vec3 -> std::string | yes Vec3 -> std::string | method |
player.name | yes -> std::string | yes -> std::string | yes -> std::string | property get |
player.pickup | yes std::string | method | ||
Player.saveAll | yes std::string -> bool | yes std::string -> bool | yes std::string -> bool | method |
player.setFov | yes float, float | method | ||
player.setVehicleWithInputId | yes IObject_ptrproxy, int -> bool | yes IObject_ptrproxy, int -> bool | yes IObject_ptrproxy, int -> bool | method |
player.spawnGroup | yes int -> int | property | ||
player.team | yes int -> int | property | ||
player.vehicle | yes IObject_ptrproxy -> IObject_ptrproxy | yes IObject_ptrproxy -> IObject_ptrproxy | yes IObject_ptrproxy -> IObject_ptrproxy | property |
Source:
tools/devwiki/refs_console.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.