Hands-On Usage
show_mio_tooltip is commonly used during tooltip display stages in national focuses, decisions, or events. It helps players clearly understand the name and initial traits of a specific Military Industrial Organization (MIO) without having to look it up themselves. Typical scenarios include when a nation-specific focus unlocks a dedicated MIO—you can use it alongside complete_national_focus in an ai_will_do block or within an event option to inform the player about the content they're about to receive.
# Soviet focus event: display upcoming MIO information
country_event = {
id = sov.mio.1
option = {
name = sov.mio.1.a
# Only shows tooltip, does not trigger actual activation
show_mio_tooltip = sov_tank_design_bureau
# Also supports variable references
show_mio_tooltip = var:selected_mio_token
}
}
Synergy
[has_completed_focus](/wiki/trigger/has_completed_focus): First check whether a focus has been completed, then use show_mio_tooltip in the corresponding event or decision to display the unlocked MIO. This creates a complete logical chain of "condition → explanation."
[every_military_industrial_organization](/wiki/effect/every_military_industrial_organization): When iterating through MIOs, pair it with tooltip output. You can highlight the target MIO outside the loop body with show_mio_tooltip, making it easier for players to compare.
[activate_targeted_decision](/wiki/effect/activate_targeted_decision): Before activating an MIO-related exclusive decision, use show_mio_tooltip first in the tooltip to clarify which MIO the decision targets, improving readability.
[add_ideas](/wiki/effect/add_ideas): These two often appear in the same option—add_ideas applies the actual effect, while show_mio_tooltip displays related MIO information in the same popup window, forming a standard "effect + explanation" pairing.
Common Pitfalls
- Using it as an activation command:
show_mio_tooltip is purely a display effect and will not actually grant or activate the MIO for the country. Newcomers often mistakenly believe that writing it completes the MIO unlock, when in fact actual activation requires additional commands.
- MIO token spelling and scope errors: The MIO token you pass must actually exist in the
military_industrial_organization definition, and this effect can only be called within a COUNTRY scope. If mistakenly placed in a STATE or CHARACTER scope, the script will silently fail or error without giving a clear warning.