The following event trigger check is not working.
garrison = { country = GER province = 44 type = land size = 0 area = no }
I am attempting to set up a series of events to randomly land Allied paratroopers in French provinces if the Germans do not have them garrisoned. You can see an example below. The way things happen in the v1.04 release, the event triggers even if the Germans have land units in the province.
###################################################
# Check provinces Lille 44
###################################################
event = {
id = 79928
random = no
persistent = yes
country = GER
name = "Airborne Raid"
desc = "Allied paratroopers have landed in Lille!"
picture = "paratroopers_normandy"
style = 0
trigger = {
war = { country = GER country = ENG }
control = { province = 19 data = ENG } #London
control = { province = 44 data = GER }
garrison = { country = GER province = 44 type = land size = 0 area = no }
random = 20 # 20% chance every 120 days based on the offset below
}
date = { day = 20 month = march year = 1943 }
offset = 120 # how often to check whether the event fires
deathdate = { day = 30 month = december year = 1999 }
action_a = {
name = "We will wipe them out"
command = { type = secedeprovince which = ENG value = 44 }
command = { type = trigger which = 79927 }
}
}
###################################################
# Airborne Raid Lille 44
###################################################
event = {
id = 79927
random = no
country = ENG
# triggered by event 79928
name = "Paradrop Raid!"
desc = "Drop into France"
style = 0
action_a = {
name = "They were expendable..."
command = { type = supplies value = 30 where = 44 } # enough supplies for 4 days of combat
command = { type = add_corps which = "Lille Air Marauders" value = land where = 44 }
command = { type = add_division which = "3rd Air Assault Division" value = paratrooper when = 2 where = artillery }
}
}
garrison = { country = GER province = 44 type = land size = 0 area = no }
I am attempting to set up a series of events to randomly land Allied paratroopers in French provinces if the Germans do not have them garrisoned. You can see an example below. The way things happen in the v1.04 release, the event triggers even if the Germans have land units in the province.
###################################################
# Check provinces Lille 44
###################################################
event = {
id = 79928
random = no
persistent = yes
country = GER
name = "Airborne Raid"
desc = "Allied paratroopers have landed in Lille!"
picture = "paratroopers_normandy"
style = 0
trigger = {
war = { country = GER country = ENG }
control = { province = 19 data = ENG } #London
control = { province = 44 data = GER }
garrison = { country = GER province = 44 type = land size = 0 area = no }
random = 20 # 20% chance every 120 days based on the offset below
}
date = { day = 20 month = march year = 1943 }
offset = 120 # how often to check whether the event fires
deathdate = { day = 30 month = december year = 1999 }
action_a = {
name = "We will wipe them out"
command = { type = secedeprovince which = ENG value = 44 }
command = { type = trigger which = 79927 }
}
}
###################################################
# Airborne Raid Lille 44
###################################################
event = {
id = 79927
random = no
country = ENG
# triggered by event 79928
name = "Paradrop Raid!"
desc = "Drop into France"
style = 0
action_a = {
name = "They were expendable..."
command = { type = supplies value = 30 where = 44 } # enough supplies for 4 days of combat
command = { type = add_corps which = "Lille Air Marauders" value = land where = 44 }
command = { type = add_division which = "3rd Air Assault Division" value = paratrooper when = 2 where = artillery }
}
}
Upvote
0