Activate (unlock and assign) the specified subdoctrine.
By default, the subdoctrine is assigned to the first matching track that the system can find.
However, you can also specify a specific folder and track index to assign the subdoctrine to, in case
the same track appears in multiple folders, or multiple times in the same folder
### Examples - SIMPLE VERSION
```
GER = {
set_sub_doctrine = mobile_infantry
}
```
### Examples - EXTENDED VERSION
```
GER = {
set_sub_doctrine = {
sub_doctrine = mobile_infantry
folder = land # Optional, in case you need to specify the folder
track = 1 # Optional, in case you need to specify the track index within the folder.
# Note that this is the track index (starting with 0) among ALL the tracks in the folder, not just the ones that match the subdoctrine.
# So in a case where a grand doctrine has the tracks: 'infantry - armor - armor - operations', you would use
# track = 1 to refer to the first armor track, and track = 2 to refer to the second armor track.
}
}
```
实战 · 配合 · 坑
实战内容由 AI 生成,并已对照 vanilla 命令词表校验 —— 请当作起点而非权威依据。上方的定义节才是游戏自带文档原文。
实战用法
set_sub_doctrine 常用于国家焦点、决策或事件中,为玩家或 AI 国家自动解锁并装备特定的子教义,免去手动在界面中点选的麻烦。例如在一个"闪电战改革"焦点中,完成焦点后直接赋予德国机动步兵子教义:
focus = {
id = GER_blitzkrieg_reform
...
completion_reward = {
GER = {
set_sub_doctrine = mobile_infantry
}
}
}