generated from the code
aiStrategy
BF22142
43 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 |
|---|---|---|---|---|
aiStrategy.addCondition | server std::string, float | server std::string, float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.addProhibitedPrecedingStrategy | server std::string -> bool | server std::string -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.addRequiredPrecedingStrategy | server std::string -> bool | server std::string -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.addSpecificObjectModifier | server std::string, float -> bool | server std::string, float -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.aggression | server float -> float | server float -> float | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.clearAllStrategicObjectsModifiers | server | server | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.completeConditions | server | server | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.completeStrategies | server | server | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.createAreaCondition | server std::string, std::string, StatusMap::Status -> bool | server std::string, std::string, StatusMap::Status -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.createConstantCondition | server std::string, StrategyCondition::CompareType, StrategyCondition::Compare, StrategyCondition::ConditionSide, StrategyCondition::Conditional, float -> bool | server std::string, StrategyCondition::CompareType, StrategyCondition::Compare, StrategyCondition::ConditionSide, StrategyCondition::Conditional, float -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.createHeterogeneousCondition | server std::string, StrategyCondition::CompareType, StrategyCondition::Compare, StrategyCondition::ConditionSide, StrategyCondition::Conditional, StrategyCondition::Conditional -> bool | server std::string, StrategyCondition::CompareType, StrategyCondition::Compare, StrategyCondition::ConditionSide, StrategyCondition::Conditional, StrategyCondition::Conditional -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.createHomogenousCondition | server std::string, StrategyCondition::CompareType, StrategyCondition::Compare, StrategyCondition::Conditional -> bool | server std::string, StrategyCondition::CompareType, StrategyCondition::Compare, StrategyCondition::Conditional -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.createPrerequisite | server std::string | server std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.createStrategy | server std::string | server std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.enableDebug | server bool -> bool | server bool -> bool | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.forceStrategy | server std::string, int -> std::string | server std::string, int -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getActiveConditionName | server -> std::string | server -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getActivePrerequisiteName | server -> std::string | server -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getActiveStrategyName | server -> std::string | server -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getConditionStrength | server -> StrategyCondition::ConditionStrength | server -> StrategyCondition::ConditionStrength | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getPrerequisiteWeight | server -> float | server -> float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getStrategicObjectsModifier | server AIStrategicObject::StrategicObjectType, StatusMap::Status -> float | server AIStrategicObject::StrategicObjectType, StatusMap::Status -> float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getTreeModifier | server TemperatureTreeNode -> float | server TemperatureTreeNode -> float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.getTreeModifierCombatStrength | server TemperatureTreeNode, CombatStrengthType -> float | server TemperatureTreeNode, CombatStrengthType -> float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.isAbortCondition | server -> bool | server -> bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.listConditions | server -> std::string | server -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.listPrerequisites | server -> std::string | server -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.listStrategies | server -> std::string | server -> std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.numberOfAttacks | server int -> int | server int -> int | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.numberOfDefences | server int -> int | server int -> int | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setActiveCondition | server std::string | server std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setActivePrerequisite | server std::string | server std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setActiveStrategy | server std::string | server std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setConditionStrength | server StrategyCondition::ConditionStrength | server StrategyCondition::ConditionStrength | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setIsAbortCondition | server bool | server bool | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setPrerequisite | server std::string | server std::string | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setPrerequisiteWeight | server float | server float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setStrategicObjectsModifier | server AIStrategicObject::StrategicObjectType, float, StatusMap::Status | server AIStrategicObject::StrategicObjectType, float, StatusMap::Status | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setTreeModifier | server TemperatureTreeNode, float -> float | server TemperatureTreeNode, float -> float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.setTreeModifierCombatStrength | server TemperatureTreeNode, CombatStrengthType, float -> float | server TemperatureTreeNode, CombatStrengthType, float -> float | method; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.targetValue | server float -> float | server float -> float | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.thresholdSpeed | server float -> float | server float -> float | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) | |
aiStrategy.timeLimit | server float -> float | server float -> float | property; BF2: only the dedicated server registers it; BF2, 2142: bf2-rs runs it in bf2-ai on the server (bf2-runtime owners.rs: the AI's) |
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.