Hands-On Usage
In mods involving the scientist system, this trigger is commonly used to restrict the availability of decisions or national focuses—allowing players to trigger related actions only when the faction still has available supportive scientist slots and the country possesses the specified specialization type, preventing ineffective assignments. For example, in a mod extending research cooperation mechanics, it can be used to limit the available condition of a "Share Land Research" decision:
available = {
can_assign_supportive_scientist_to_faction = specialization_land
is_faction_leader = no
}
Synergy
[any_scientist](/wiki/trigger/any_scientist): First use this trigger to check whether the country has scientists meeting the conditions, then pair it with can_assign_supportive_scientist_to_faction to confirm slot availability, providing dual validation to prevent ineffective operations.
[add_scientist_role](/wiki/effect/add_scientist_role): After adding a supportive scientist role to a scientist in the effect block, this trigger is commonly used in preconditions to confirm sufficient slots, forming a standard "check first, then execute" workflow.
[all_active_scientist](/wiki/trigger/all_active_scientist): Combined with all_active_scientist to iterate through currently active scientists, this trigger can be used to judge whether it's truly necessary to unlock the dispatch interface.
[has_completed_focus](/wiki/trigger/has_completed_focus): Often used as a parallel condition requiring national focus completion before unlocking supportive scientist assignment functionality, adding layers of unlock progression.
Common Pitfalls
- Incorrect specialization type specification: Beginners often write parameters as
land or specialization_land_doctrine and other non-existent values. The correct approach is to use the game-defined specialization tags directly (such as specialization_land, specialization_naval). Writing it incorrectly causes the trigger to silently return false without error, resulting in the condition never being satisfied.
- Overlooking the "faction" prerequisite: This trigger checks the faction's available slots. If the current country does not belong to any faction (has not joined or established one), the trigger will similarly return false. You must first use related conditions in the outer layer to confirm the country is in a faction, otherwise using it alone creates a logical dead end.