I stumbled across the ai-reactive.txt in the event folder...it is a nice idea to make the ai react to arms buildup in other ai or human controlled countries.
But how should the text look like if you want to add multiple brigades to a unit build command?
Eg a BB can have some 4 brigades. I know how to add one brigade to a unit build command...but how to make it mulitple brigades?
name = "AI_EVENT"
action_a = {
ai_chance = 60 # Build another CV TF & Naval Bomber
command = { type = build_division which = naval_bomber value = escort }
command = { type = build_division which = battleship value = naval_fire_controll_l }
command = { type = build_division which = light_cruiser value = naval_fire_controll_s }
command = { type = build_division which = destroyer value = naval_anti_air_s }
}
But how should the text look like if you want to add multiple brigades to a unit build command?
Eg a BB can have some 4 brigades. I know how to add one brigade to a unit build command...but how to make it mulitple brigades?
name = "AI_EVENT"
action_a = {
ai_chance = 60 # Build another CV TF & Naval Bomber
command = { type = build_division which = naval_bomber value = escort }
command = { type = build_division which = battleship value = naval_fire_controll_l }
command = { type = build_division which = light_cruiser value = naval_fire_controll_s }
command = { type = build_division which = destroyer value = naval_anti_air_s }
}