• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Fürstbischof

General
17 Badges
Jan 25, 2009
1.765
92
  • Arsenal of Democracy
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • Heir to the Throne
  • Hearts of Iron Anthology
  • 500k Club
  • Europa Universalis: Rome
  • Victoria 2: A House Divided
  • Europa Universalis III: Collection
  • 200k Club
  • Rome: Vae Victis
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
ai_reactive.txt

event = {
id = 200007
random = no
country = ENG
style = 0

trigger = {
ai = yes
naval_bomber = { country = GER value = 3 } # >= 3 naval_bomber
}


date = { day = 28 month = june year = 1936 }
offset = 30
deathdate = { day = 30 month = december year = 1999 }

name = "AI_EVENT"

action_a = {
ai_chance = 60 # Protect Scapa Flow
command = { type = construct which = radar_station where = 5 value = 1 }
command = { type = construct which = flak where = 5 value = 1 }
command = { type = build_division which = interceptor }

}
action_b = {
ai_chance = 30 # Defend the fleet at sea
command = { type = build_division which = light_cruiser }
}
action_c = {
ai_chance = 10 # Rely on the RAF to protect the major Naval Bases
command = { type = build_division which = interceptor }
command = { type = construct which = radar_station where = 5 value = 1 }
command = { type = construct which = flak where = 5 value = 1 }
command = { type = construct which = radar_station where = 21 value = 1 }
command = { type = construct which = flak where = 21 value = 1 }
command = { type = construct which = radar_station where = 23 value = 1 }
command = { type = construct which = flak where = 23 value = 3 }
}

last line should be
command = { type = construct which = flak where = 23 value = 1 }
 
Upvote 0
See also event 200008:


(...)
action_b = {
ai_chance = 30 # Rely on the RAF to protect the major Naval Bases
command = { type = build_division which = interceptor }
command = { type = construct which = radar_station where = 5 value = 1 }
command = { type = construct which = flak where = 5 value = 1 }
command = { type = construct which = radar_station where = 21 value = 1 }
command = { type = construct which = flak where = 21 value = 1 }
command = { type = construct which = radar_station where = 23 value = 1 }
command = { type = construct which = flak where = 23 value = 3 }
}
(...)
 
This file is one of the files which has also seen some changes to commands, i.e. by capitalising OR, NOT etc. This hasn't been done consistently so I'm wondering if capitalising these is actually necessary.