Skip to content

House

Changed in 0.2.0

The house, named by country or start position, that owns teams a trigger action creates from this TeamType.

Specification
Applies to
TeamType
File
ai.ini or map file
Section
[<ObjectType ID>]
Value
HouseType
When omitted
none

House= sets the owner of a team that a trigger action creates from this TeamType: Reinforcement (team), Reinforcement (team) at waypoint or Create Team.

The value selects a house in one of two ways:

  • A country, given by its ID or its Name= string, selects the house in the match that plays that country.
  • A spawn house, Spawn1 through Spawn8 or <Player @ A> through <Player @ H>, selects the house that starts at that position.
ai.ini or map file
[MyRaidTeam] ; example TeamType
Name=Raid team
House=Nod
TaskForce=MyRaidForce ; defined under [TaskForces]
Script=MyRaidScript ; defined under [ScriptTypes]

The owner is the house the team’s members are created for, and the only house the team can recruit from. The team also counts among that house’s teams for the team budget and, outside a campaign, for Max.

A file read later that defines the same TeamType without House keeps the owner an earlier file set. An owner that came from a spawn house is kept only as its country, so the later read gives the team to the first house in the match playing that country, which can be a different house.

History

  1. Changed0.2.0In development

    Resolve spawn house owners in multiplayer scenarios