Wiki

effect · force_enable_resistance

Definition

  • Supported scope:STATE
  • Supported target:any

Description

force enables resistance for scoped state. the resistance will be active even if other conditions doesn't satisfy (even if it is core or resistance check trigger is false)  :
force_enable_resistance = GER # same as occupier = GER 
force_enable_resistance = { 
  clear = no #if yes, will clear previously set resistance
  occupier = GER #if set, the resistance will be enabled when the occupier is GER
  occupied = ENG #if set, the resistance will be enabled if the occupier country is target
}

Hands-On Notes

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.

Hands-On Usage

force_enable_resistance is commonly used in scenario mods to forcibly trigger resistance movements in specific states, regardless of whether the state is a core of the occupying nation or other game conditions are met. For example, in occupation story events, you can make a nation's occupied territory immediately erupt in popular resistance. If you need to activate resistance only for a specific occupier, use the occupier field to precisely target it and avoid applying the effect indiscriminately to all occupation scenarios.

# Forcibly enable resistance in a Polish state occupied by Germany,
# regardless of whether the state meets normal trigger conditions
123 = { # state scope
    force_enable_resistance = {
        occupier = GER
    }
}

# Clear the force resistance flag set previously
123 = {
    force_enable_resistance = {
        clear = yes
    }
}

Synergy

  • [add_resistance](/wiki/effect/add_resistance): After forcibly enabling resistance, you typically need to simultaneously increase resistance values to produce immediate visible effects in-game.
  • [force_disable_resistance](/wiki/effect/force_disable_resistance): As the counterpart command, use it to cancel previously forced resistance states when the scenario transitions (e.g., liberation events).
  • [has_active_resistance](/wiki/trigger/has_active_resistance): Check in trigger conditions whether resistance is already active; commonly paired with this command for pre-checks or follow-up responses.
  • [set_occupation_law](/wiki/effect/set_occupation_law): Adjusting occupation laws often occurs in sync with forcibly enabling resistance, simulating the logic of harsh rule provoking civilian backlash.

Common Pitfalls

  1. Forgetting to specify occupier results in overly broad scope: When no field is filled, it is equivalent to enabling resistance for all occupiers, which can cause unexpected widespread resistance on maps with multi-faction competition. Always explicitly define the occupier or occupied field to limit the effect.
  2. Mistakenly assuming clear = yes also clears resistance values: clear only removes the "force enabled" flag; it does not automatically reset resistance strength accumulated through add_resistance or set_resistance, requiring additional use of [set_resistance](/wiki/effect/set_resistance) to zero out the value.