trigger · armor
Definition
- Supported scope:
COMBATANT - Supported target:
none
Description
Check that average armor level of combatant is over a certain level
armorCOMBATANTnoneCheck that average armor level of combatant is over a certain level
Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
armor is commonly used in custom combat traits or decisions to determine whether participating units are predominantly heavily armored, thereby triggering specific combat bonuses or unlocking special options. For example, in armor-focused mods, you can use it to provide exclusive combat modifiers to high-armor assault groups.
# Using armor within the allowed block of combat-related traits
allowed = {
armor > 50
is_attacker = yes
}
[hardness](/wiki/trigger/hardness): Units with high armor values typically have high hardness as well. Combining these triggers allows more precise identification of pure armor assault forces and avoids misclassifying mixed unit compositions.[has_unit_type](/wiki/trigger/has_unit_type): When paired with specific unit type detection (such as heavy tanks), this dual filtering ensures the trigger only activates when genuine armored units are in combat.[is_attacker](/wiki/trigger/is_attacker): Armored forces achieve maximum effectiveness during offensive phases. Using armor in conjunction with this trigger restricts effects to active offensive engagements with heavy armor.[is_fighting_in_terrain](/wiki/trigger/is_fighting_in_terrain): Armor effectiveness varies significantly between plains and deserts. Combined with terrain checks, you can apply differentiated conditions for heavy armor units across various terrain types.armor measures the average armor level of participating units, not the value of a single division or piece of equipment. Therefore, an assault group with mixed infantry may fail to trigger even if it includes heavy tanks, since the average value could fall well below the intended threshold.