Hey guys,
i think i´ve got a little problem with an event:
It doesn´t really work...
I guess the problem is, that i used the "or" three times, isn´t it?
I want to have an event, which is triggered if Linz OR Hollabrunn OR Salzburg OR Graz OR Klagenfurt is not under the control of my country -> in enemy hands
Any suggestions how to solve this problem?
i think i´ve got a little problem with an event:
Code:
event = {
id = 60021
country = U19
random = no
picture = häuserkampf
trigger = {
NOT = { control = { province = 465 data = U19 }}
OR = { NOT = { control = { province = 462 data = U19 }} }
OR = { NOT = { control = { province = 461 data = U19 }} }
OR = { NOT = { control = { province = 464 data = U19 }} }
}
name = "Schlacht um Wien"
desc = "Im erbitterten Häuserkampf stellen sich die Verteidiger Wiens gegen ihre Angreifer. Bis zum letzten Manne soll gekämpft werden!"
style = 0
date = { day = 1 month = january year = 1936 }
offset = 1
deathdate = { day = 1 month = december year = 2200 }
action_a = { name = "Setzt die Landwehr ein!"
command = { type = dissent value = 5 }
command = { type = add_corps which = "Landwehr WIEN" value = land where = 463 }
command = { type = add_division which = "1. Landwehrgruppe Wien" value = militia when = 3 }
command = { type = add_division which = "2. Landwehrgruppe Wien" value = militia when = 3 }
command = { type = add_division which = "3. Landwehrgruppe Wien" value = militia when = 3 }
command = { type = add_division which = "Wiener Garde" value = cavalry when = 0 }
command = { type = manpowerpool value = -45 }
}
}
It doesn´t really work...
I guess the problem is, that i used the "or" three times, isn´t it?
I want to have an event, which is triggered if Linz OR Hollabrunn OR Salzburg OR Graz OR Klagenfurt is not under the control of my country -> in enemy hands
Any suggestions how to solve this problem?