I'm currently playing a Grand Campaign as Austria, EEP 1.4.2a, patch 1.07 last beta. The following event doesn't fire for Hungary:
If I understand the trigger system well, one condition out of each OR-group has to be fulfilled for the event to be fired.
I went to war with Hungary, and with the help of the free HRE manpower and the assistance of Loyalist rebels, I quickly captured most Hungarian provinces. When I saw a rebel force of 14k was moving towards the (Austrian controlled) city of Pest, I quickly signed peace with Hungary for the provinces of Maros, Magyar and Croatia. Banat and Carpathia were at that moment rebel controlled. Several months later Pest fell as well to Loyalist rebel forces. AFAIK this means all the triggers were fulfilled. I owned provinces from the 2nd and 5th OR-group, and rebels controlled provinces from the other OR-groups. I waited a year, but still, the event didn't fire. Does anyone know what could be the problem??
Btw, is it intentional that the event triggers are so hard to fulfill? Since Pest is the capital of Hungary, you can't control that province unless you annex the whole of Hungary. So unless I'm mistaken this event can only fire if you have the major luck that a rebel force happens to move to Pest and capture it.
Code:
#Loyalist Victory
event = {
id = 188102
trigger = {
flag = Wladislaw
OR = { owned = { province = 353 data = HAB } #Pest
control = { province = 353 data = REB }
}
OR = { owned = { province = 324 data = HAB } #Maros
owned = { province = 325 data = HAB } #Magyar
control = { province = 324 data = REB }
control = { province = 325 data = REB }
}
OR = { owned = { province = 316 data = HAB } #Carpathia
owned = { province = 317 data = HAB } #Ruthenia
owned = { province = 326 data = HAB } #Presburg
control = { province = 316 data = REB }
control = { province = 317 data = REB }
control = { province = 326 data = REB }
}
OR = { owned = { province = 323 data = HAB } #Transylvania
owned = { province = 354 data = HAB } #Banat
owned = { province = 355 data = HAB } #Serbia
control = { province = 323 data = REB } #Transylvania
control = { province = 354 data = REB } #Banat
control = { province = 355 data = REB } #Serbia
}
OR = { owned = { province = 366 data = HAB } #Croatia
owned = { province = 367 data = HAB } #Krain
control = { province = 366 data = REB } #Croatia
control = { province = 367 data = REB } #Krain
}
NOT = { war = { country = HUN country = HAB }} #War needs to be over, otherwise there could be weird consequences
}
random = no
country = HUN
name = "Victory of the supporters of Ladislaus Postumus"
desc = "Since most of Hungary has been captured by the Hapsburgs and their Hungarian supporters, support for King Ulászló and Janos Hunyadi is fading and Ladislaus Postumus is commonly acknowledged as rightful King."
style = 1
action_a = {
name = "Accept Ladislaus"
command = { type = vp value = -150 }
command = { type = breakvassal which = POL }
command = { type = wakemonarch which = 03620 } #Elizabeth of Luxemburg (Regent)
command = { type = wakemonarch which = 03621 } #Frederick of Styria (Regent)
command = { type = sleepmonarch which = 06262 } #Ulászló I
command = { type = sleepmonarch which = 06282 } #Interregnum
command = { type = sleepmonarch which = 06283 } #General-Captains of Hungary
# command = { type = sleepleader which = XXXXX } #Ulászlo I
command = { type = trigger which = 179103} #HAB: Coronation of Ladislaus Postumus II
command = { type = independence which = SIE } #Hunyadi fights on
command = { type = province_revoltrisk which = 316 value = -2 }
command = { type = province_revoltrisk which = 325 value = -2 }
command = { type = province_revoltrisk which = 326 value = -2 }
command = { type = province_revoltrisk which = 352 value = -2 }
command = { type = province_revoltrisk which = 353 value = -2 }
command = { type = province_revoltrisk which = 367 value = -4 }
command = { type = stability value = 2 }
command = { type = capital which = 326 }
command = { type = clrflag which = Wladislaw }
command = { type = setflag which = Ladislaus }
}
action_b = {
name = "Never, Ulászló is rightful King!"
command = { type = stability value = -3 }
command = { type = war which = HAB }
}
}
If I understand the trigger system well, one condition out of each OR-group has to be fulfilled for the event to be fired.
I went to war with Hungary, and with the help of the free HRE manpower and the assistance of Loyalist rebels, I quickly captured most Hungarian provinces. When I saw a rebel force of 14k was moving towards the (Austrian controlled) city of Pest, I quickly signed peace with Hungary for the provinces of Maros, Magyar and Croatia. Banat and Carpathia were at that moment rebel controlled. Several months later Pest fell as well to Loyalist rebel forces. AFAIK this means all the triggers were fulfilled. I owned provinces from the 2nd and 5th OR-group, and rebels controlled provinces from the other OR-groups. I waited a year, but still, the event didn't fire. Does anyone know what could be the problem??
Btw, is it intentional that the event triggers are so hard to fulfill? Since Pest is the capital of Hungary, you can't control that province unless you annex the whole of Hungary. So unless I'm mistaken this event can only fire if you have the major luck that a rebel force happens to move to Pest and capture it.