Wiki

effect · unlock_tactic

Definition

  • Supported scope:COUNTRY
  • Supported target:none

Description

Unlocks the specified combat tactic for the country.

	### Examples
	```
	GER = {
		unlock_tactic = tactic_masterful_blitz
	}
	```

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

unlock_tactic is commonly used in focus trees, decisions, or events to unlock special tactics for a nation, enhancing its combat performance and serving as a standard way to grant major powers distinctive military styles when creating historical or alternate-history mods. For example, unlocking an exclusive tactic for Germany upon completing a certain blitzkrieg focus:

focus = {
    id = GER_blitzkrieg_doctrine
    ...
    completion_reward = {
        GER = {
            unlock_tactic = tactic_masterful_blitz
        }
    }
}

Synergy

  • [add_ideas](/wiki/effect/add_ideas): Typically paired with tactic unlocks to simultaneously add military doctrines or leader traits as ideas, creating a cohesive military system for the nation.
  • [add_tech_bonus](/wiki/effect/add_tech_bonus): Grants concurrent research bonuses for technologies in focus rewards, ensuring that tactic unlocks align with doctrine tech progression.
  • [has_completed_focus](/wiki/trigger/has_completed_focus): Serves as a prerequisite condition to ensure tactic unlocks are triggered only after a specific focus is completed, preventing premature activation.
  • [add_doctrine_cost_reduction](/wiki/effect/add_doctrine_cost_reduction): Can be used together to reduce research costs for related doctrines, forming a complete military reform reward package alongside tactic unlocks.

Common Pitfalls

  1. Tactic token spelling errors: The tactic name must exactly match the token defined under common/combat_tactics/, including case sensitivity. If misspelled, the game will not report an error but the effect will silently fail, making it difficult to debug.
  2. Calling outside COUNTRY scope: This effect only supports COUNTRY scope. Calling it directly within STATE or CHARACTER scopes will cause script errors. Use scope switching like OWNER = { unlock_tactic = ... } to properly change scope first.