Hi guys
I just observed a strange issue:
I checked the AI Switch log:
so, GER_Norway.ai was activated in 1941 for a second time.
(Invasion of Norway is long over, triggered correctly the first time)
BUT: theres is only ONE single event that activate this ai file.
(Vanilla event)
Fun thing: Germany is at war with france as this switch was activated. The AI event has triggered even if the conditions where NOT true.
I observed an similar thing with another vanilla AI switch - the GER_Poland_After.ai was activated even if the specific event has "NOT = { local_flag = GERLowCountriesPrepare}" as condition and ingame the flag was set.
I'am just stupid and don't see the point? Are the DH AI switches somehow cursed/bugged/whatever?
I just observed a strange issue:
I checked the AI Switch log:
Code:
1941-01-30 : [ Deutsches Reich ] -> [ Mods\Eternal War/ai\switch/GER_Norway.ai ]
so, GER_Norway.ai was activated in 1941 for a second time.
(Invasion of Norway is long over, triggered correctly the first time)
BUT: theres is only ONE single event that activate this ai file.
Code:
################
# Norway Invasion AI
#############################################
event = {
id = 3003001
random = no
country = GER
persistent = yes
trigger = {
ai = yes
NOT = { local_flag = GERInvadeNorway }
NOT = { lost_national = { country = GER value = 2 } }
OR = {
war = { country = NOR }
war = { country = SWE }
war = { country = FIN }
}
NOT = {
AND = { # LOW COUNTRIES
war = { country = HOL }
NOT = { control = { province = 122 data = GER } } # Amsterdamm
}
AND = {
war = { country = BEL }
NOT = { control = { province = 116 data = GER } } # Brussels
}
AND = {
war = { country = FRA }
NOT = { control = { province = 55 data = GER } } # Paris
OR = {
war = { country = HOL }
war = { country = BEL }
}
}
AND = {
war = { country = SOV }
NOT = { land_percentage = { country = SOV value = 0.8 } }
NOT = { lost_national = { country = SOV value = 10 } }
}
}
}
name = "AI_EVENT"
style = 0
date = { day = 1 month = january year = 1933 }
offset = 4
deathdate = { day = 29 month = december year = 1963 }
action_a = {
command = { type = local_setflag which = GERInvadeNorway }
command = { type = local_clrflag which = GERSubPatrol }
command = { type = ai which = "switch/GER_Norway.ai" }
}
}
(Vanilla event)
Fun thing: Germany is at war with france as this switch was activated. The AI event has triggered even if the conditions where NOT true.
I observed an similar thing with another vanilla AI switch - the GER_Poland_After.ai was activated even if the specific event has "NOT = { local_flag = GERLowCountriesPrepare}" as condition and ingame the flag was set.
I'am just stupid and don't see the point? Are the DH AI switches somehow cursed/bugged/whatever?