Hands-On Usage
add_faction_initiative is commonly used in faction system-related mods. When a country completes a specific focus, decision, or event option, it adds initiative points to its faction, driving faction upgrades or unlocking faction privileges. For example, in a mod that enhances alliance mechanics, Germany gains points for its faction upon completing the "Expand Axis Influence" focus:
focus = {
id = GER_expand_axis_influence
...
completion_reward = {
GER = {
add_faction_initiative = 10
}
}
}
Synergy
[faction_upgrade_level](/wiki/trigger/faction_upgrade_level) — Detects the faction's current upgrade level, allowing different reward logic to trigger once initiative accumulates to a certain threshold, forming a complete chain of "points → upgrade → rewards".
[add_faction_influence_score](/wiki/effect/add_faction_influence_score) — Both belong to the faction value system and are often called simultaneously in the same event option, balancing both initiative and influence dimensions.
[faction_influence_ratio](/wiki/trigger/faction_influence_ratio) — Serves as a precondition to check this country's influence ratio within the faction, ensuring only dominant members qualify for initiative rewards, creating more rigorous logic.
[add_faction_goal](/wiki/effect/add_faction_goal) — Initiative points are typically designed alongside faction goals; use add_faction_initiative to provide incentives after completing objectives, forming positive feedback loops.
Common Pitfalls
- Calling within the scope of non-faction member countries: This effect acts on "the faction of the current country". If the country hasn't joined any faction when triggered (such as neutral nations), the script won't error but the points will be silently discarded and have no effect. Always use
[faction_influence_rank](/wiki/trigger/faction_influence_rank) or similar conditions to confirm the country belongs to a faction first.
- Confusing with
add_faction_influence_score: Despite their similar names, they operate on different faction value dimensions—initiative affects action points pool, while influence affects influence ranking. Incorrect substitution will cause expected faction behaviors to fail completely.