Hands-On Usage
has_naval_control is commonly used in naval supremacy-related decisions or national focus scripts, such as determining whether a country can launch amphibious blockades in a strategic sea zone, unlocking specific maritime supply line decisions, or triggering different event branches based on naval superiority. The following example demonstrates how to restrict a decision so it is only available when controlling naval supremacy in the North Sea:
some_naval_decision = {
available = {
has_naval_control = north_sea
}
# ...
}
Synergy
[alliance_naval_strength_ratio](/wiki/trigger/alliance_naval_strength_ratio): When evaluating naval control, further quantify the naval strength ratio between your alliance and the enemy for finer-grained conditional layering.
[any_navy_leader](/wiki/trigger/any_navy_leader): Use in combination to confirm that a country not only controls the sea zone at the strategic level, but also has deployed qualifying naval commanders; commonly used as a dual-threshold check for amphibious operation decisions.
[enemies_naval_strength_ratio](/wiki/trigger/enemies_naval_strength_ratio): Combine with has_naval_control to simultaneously verify both strategic area control and the enemy's remaining naval strength, preventing false triggers caused by a completely destroyed enemy navy while naval control has not yet updated.
[declare_war_on](/wiki/effect/declare_war_on): In AI strategies or event consequences, use has_naval_control first to confirm naval supremacy before executing a declaration of war, preventing maritime offensives from being triggered without any naval advantage.
Common Pitfalls
- Writing province/state IDs instead of REGION_ID:
has_naval_control accepts the ID of a strategic region (such as north_sea), not a land state or province ID. Beginners often confuse the two, causing the trigger to always return false without error messages.
- Overlooking the calculation scope of allied contributions: This trigger merges the navies of friendly countries into the calculation, so when writing this condition for a smaller country in multiplayer or alliance scenarios, you may get unexpected true results due to an ally's strong navy. Combine with other conditions to properly limit the evaluation scope.