Skip to content

OnlyTargetHouseEnemy

Restricts the team's scripted target choice to the owner's declared enemy.

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

Three script missions ask the engine to pick a target for the whole team, and each of them is handed this setting. On an Attack mission the team leader’s scan drops any candidate whose owner is not the house’s declared enemy, in every pass the scan makes — the flying layers, the cell rings and the full-object sweep alike. The two building-with-property missions already prefer a building of the enemy house over any other non-allied one; with this set they return nothing at all rather than settling for the other house’s.

Nothing else about the team is narrowed. Individual members still acquire their own targets by scanning and still retaliate, both without regard to which house they are shooting at.