![]() | EmptyKeys.Strategy.AI.Components.ActionsPlayer Namespace |
Class | Description | |
---|---|---|
![]() | FindBuilderInSystem |
Implements player action for behavior. This action finds existing Builder unit in EnvironmentTarget, which is without behavior.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindClosestEnemySystem |
Implements player action for behavior. This action finds the closest enemy system.
Enemy system is found based on utility value calculated from influence and distance.
The result is stored in EnvironmentTarget of PlayerBehaviorContext.
|
![]() | FindPlanetForBuild |
Implements player action for behavior. This action finds avail planet for building with highest Production.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindPlanetForBuildColonyShip |
Implements player action for behavior. This action finds best planet to colonize and based on that it finds best planet to build colony ship. Calculations are using utility values.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindPlanetWithMinValue |
Implements player action for behavior. This action finds Planet with minimum value in specific attribute.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindPlanetWithoutBehavior |
Implements player action for behavior. This action finds Planet without behavior.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindSystemWithoutDefense |
Implements player action for behavior. This action finds owned star system without any defense.
The result is stored in EnvironmentTarget of PlayerBehaviorContext.
|
![]() | FindTradeUnitWithoutRoute |
Implements player action for behavior. This action finds ITradeUnit without assigned trade route.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindUnitWithoutBehavior |
Implements player action for behavior. This action finds specific unit of UnitTypeName, which is without behavior.
The result is stored in BehaviorTarget of PlayerBehaviorContext.
|
![]() | FindUnitWithUpgradePoint |
Implements player action for behavior. This action finds unit with available upgrade point.
The result is stored in Unit of PlayerBehaviorContext.
|
![]() | PlayerDestroyUnit |
Implements player action for behavior. This action destroys unit (see conditions in code).
|
![]() | PlayerGetAllPlayerRelations |
Implements player action for behavior. This action creates RelationValues enumerator for PlayerBehaviorContext and for each relation finds Player instance.
|
![]() | PlayerNextPlayerRelations |
Implements player action for behavior. This action is using enumerator and gets next relation value.
|
![]() | PlayerRelationCloseBorders |
Implements player action for behavior. This action closes borders to other Player.
|
![]() | PlayerRelationDeclareWar |
Implements player action for behavior. This action declares war to other Player.
|
![]() | PlayerRelationMakePeace |
Implements player action for behavior. This action makes peace with other Player.
|
![]() | PlayerRelationOpenBorders |
Implements player action for behavior. This action opens borders to other Player.
|
![]() | PlayerResearchTech |
Implements player action for behavior. This action starts technology research based on goal technology.
Process starts with researching all parent technologies if they are not Acquired.
|
![]() | PlayerSetPlanetBehavior |
Implements player action for behavior. This action sets Planet (BehaviorTarget) behavior.
|
![]() | PlayerSetTradeRoute |
Implements player action for behavior. This action sets Trade Route of trade unit (BehaviorTarget).
|
![]() | PlayerSetUnitBehavior |
Implements player action for behavior. This action sets Unit (BehaviorTarget) behavior.
|
![]() | PlayerSetUnitsEnvTarget |
Implements player action for behavior. This action sets EnvironmentTarget of the unit in UnitBehaviorContext.
|
![]() | PlayerUpdateRelationsValue |
Implements player action for behavior. This action updates diplomatic relation with other player.
|
![]() | PlayerUpgradeUnit |
Implements player action for behavior. This action upgrades Unit with selected UnitUpgrade.
|