Hands-On Usage
Commonly used to determine whether your own naval strength is sufficient to trigger certain diplomatic or strategic decisions. For example, in naval expansion mods, unlock special decisions when your naval power overwhelms enemies, or control whether AI should initiate naval attacks against opponents in strategy logic. Note that this trigger compares the naval strength ratio between the scoped country and all currently hostile nations, making it ideal for use in wartime condition check blocks.
# Allow executing a certain decision when your naval strength exceeds 1.5x the combined total of all enemies
available = {
enemies_naval_strength_ratio > 1.5
}
Synergy
[enemies_strength_ratio](/wiki/trigger/enemies_strength_ratio): The corresponding trigger for land army strength comparison, commonly used together with this trigger to implement "balanced land and naval" comprehensive strategic condition checks.
[alliance_naval_strength_ratio](/wiki/trigger/alliance_naval_strength_ratio): Used to compare overall alliance naval strength. When you need to distinguish between "your nation's independent naval power" and "entire faction's naval power," using both triggers together creates more rigorous logic.
[has_enemy_naval_control](/wiki/trigger/has_enemy_naval_control): Determines whether enemies control naval supremacy in certain sea zones. Combined with this trigger, it forms a compound trigger condition of "superior strength but haven't secured control yet."
[declare_war_on](/wiki/effect/declare_war_on): In AI decision or event effect blocks, first confirm naval advantage through this trigger before triggering a declaration of war, avoiding disadvantageous warfare initiation.
Common Pitfalls
- Undefined behavior when no enemies exist: If the scoped country has no current enemies (not in a state of war), the trigger's comparison result may not behave as expected (typically returns false or produces division-by-zero issues). You must first use
[any_enemy_country](/wiki/trigger/any_enemy_country) in an outer layer to confirm the existence of hostile countries before using this trigger.
- Incorrect scope usage: This trigger only supports COUNTRY scope. Beginners often mistakenly place it within condition blocks for state or character, causing script errors or silent failures. Always ensure the outer scope is at the country level.