Hands-On Usage
This trigger is commonly used in mod scenarios related to peace conferences. For example, in events or decisions that occur after a conference concludes, you can check whether a specific country has claimed and seized a particular state through the take_states action, thereby triggering subsequent story branches or penalty mechanics. Typical use cases include: unlocking conditions for post-war reconstruction decisions, or automatically activating regional events when a major power annexes key states during a conference.
# Check whether the Soviet Union obtained this state through a peace conference in a STATE scope event trigger
some_state_event = {
trigger = {
pc_is_state_claimed_and_taken_by = SOV
}
# ...
}
# Can also use dynamic scope syntax
pc_is_state_claimed_and_taken_by = ROOT.FROM
Synergy
[pc_is_state_claimed_by](/wiki/trigger/pc_is_state_claimed_by): First use this trigger to check whether a state has been claimed by a country during a conference, then use pc_is_state_claimed_and_taken_by to further confirm whether it was actually obtained through take_states, creating a two-layer verification logic.
[is_owned_by](/wiki/trigger/is_owned_by): Use together after the conference concludes to verify that the state is indeed owned by the target country at the game state level, preventing logic gaps when conference data and actual ownership become desynchronized.
[has_state_flag](/wiki/trigger/has_state_flag): Commonly used to mark the state as "already partitioned in the conference," combined with pc_is_state_claimed_and_taken_by to form conditional gating and prevent event duplication.
[set_state_owner_to](/wiki/effect/set_state_owner_to): After confirming that the conference claim is valid, execute the actual ownership transfer as an effect. This is the most direct follow-up action to this trigger.
Common Pitfalls
- Scope confusion: This trigger must be used within a STATE scope. Beginners often write it directly in the
trigger block of events or decisions within a COUNTRY scope, causing parsing errors or silent failures. You must first enter the correct scope through any_state / every_state or similar constructs.
- Misunderstanding of peace conference data lifecycle: After a peace conference concludes, the internal conference data may be cleared. This trigger is most reliable during the conference itself. If called in an event long after the conference ends, it may always return false. Mitigate this by using
[has_state_flag](/wiki/trigger/has_state_flag) to set flags during the conference period in advance.