trigger · num_of_career_profile_points
Definition
- Supported scope:
any - Supported target:
any
Description
check amount of gained career points
num_of_career_profile_pointsanyanycheck amount of gained career points
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
num_of_career_profile_points 常用于生涯模式相关的 mod 中,根据玩家累计获得的生涯积分来解锁特殊事件、国策或奖励内容。例如当玩家积分达到一定阈值时才允许触发特定事件选项:
available = {
num_of_career_profile_points > 50
}
[career_profile_check_points](/wiki/trigger/career_profile_check_points):同为生涯档案检查类 trigger,可搭配使用以区分"总积分"与"特定条件下的积分检查",构建多层次的生涯进度门槛。[career_profile_check_value](/wiki/trigger/career_profile_check_value):用于检查生涯档案中的具体数值变量,与积分判断配合可实现"积分够且完成特定里程碑"的复合条件。[career_profile_has_player_flag](/wiki/trigger/career_profile_has_player_flag):检查玩家生涯标记,搭配积分判断可避免同一奖励被重复触发。[count_triggers](/wiki/trigger/count_triggers):当需要统计多个生涯条件同时满足的数量时,可将 num_of_career_profile_points 嵌入其中作为子条件之一。>、<、>=)使用,直接写 num_of_career_profile_points = 50 时语义是"恰好等于 50",与预期"至少 50 分"不符,应使用 >= 50。any scope,但该 trigger 读取的是当前玩家的生涯档案数据,在 every_country 等循环 scope 内调用时,结果始终反映玩家档案而非被迭代的国家,逻辑上容易产生误解。Hands-on notes are AI-generated and checked against the vanilla command vocabulary — treat them as a starting point, not authoritative reference. The definition above is the game's own documentation.
num_of_career_profile_points is commonly used in career mode-related mods to unlock special events, focuses, or rewards based on the player's accumulated career points. For example, to trigger a specific event option only after the player reaches a certain point threshold:
available = {
num_of_career_profile_points > 50
}
[career_profile_check_points](/wiki/trigger/career_profile_check_points): Another career profile checking trigger that can be combined to distinguish between "total points" and "points checked under specific conditions," enabling multi-layered career progress gates.[career_profile_check_value](/wiki/trigger/career_profile_check_value): Used to check specific numeric variables in the career profile. When paired with point checks, it enables compound conditions like "points sufficient AND specific milestone completed."[career_profile_has_player_flag](/wiki/trigger/career_profile_has_player_flag): Checks player career flags. When combined with point checks, it prevents the same reward from being triggered repeatedly.[count_triggers](/wiki/trigger/count_triggers): When you need to count how many career conditions are simultaneously satisfied, you can nest num_of_career_profile_points as one of the sub-conditions.>, <, >=). Writing num_of_career_profile_points = 50 directly means "exactly 50," not "at least 50 points" as intended. Use >= 50 instead.any scope is supported, this trigger reads the current player's career profile data. When called within looping scopes like every_country, the result always reflects the player's profile rather than the iterated country, which can cause logical misunderstandings.