
Action
Change Military Stance
Set the Military Stance our Subject will use to guide its actions in War.
Definitionin_game/common/generic_actions/military_stance.txt:1
2type = owncountry
4potential = {
}
7allow = {
}
10ai_tick = never
12select_trigger = {
13looking_for_a = country
14source = actor
15source_flags = subjects
16target_flag = subject
17name = "change_military_stance_choose_subject" Select the Subject to instruct:
18column = {
19data = name
}
21column = {
22data = army_size
}
24column = {
25data = regular_army_size
}
27column = {
28data = navy_size
}
30visible = {
}
}
34select_trigger = {
35looking_for_a = military_stance
36target_flag = military_stance
37name = "change_military_stance_choose_stance" Select the Military Stance to use:
38column = {
39data = name
}
41selected = {
42this = scope:subject.country_stance
}
}
46effect = {
47scope:actor = {
48if = {
49limit = {
50exists = scope:subject
51exists = scope:military_stance
}
53scope:subject = {
54set_country_military_stance = scope:military_stance
}
}
}
}