In the last time, I experience heavy problems with some events. Often they simply never trigger even if all requirements are fulfilled.
Here are two events that not trigger:
Code:
#########################################################################
# The Polish Question
#########################################################################
event = {
id = 99990935
country = POL
save_date = yes
random = no
trigger = { random = 25 event = 99990911 flag = GER_EG OR = { flag = FRA_EG flag = ENG_EG } }
date = { day = 0 month = january year = 1939 }
offset = 7
deathdate = { day = 27 month = december year = 1963 }
name = "The Polish Question"
desc = "E99990935_DESC" # Storytelling about Polands former development
style = 2
picture = "SV_EGTreaty"
decision_picture = "SV_EGTreaty_D"
action = {
name = "Start European integration!"
ai_chance = 80
command = { type = setflag which = Poland_Europe }
command = { type = event which = 99990936 where = POL when = 7 }
}
action = {
name = "Side with the Fascists!"
ai_chance = 5
command = { type = setflag which = Poland_Fascist }
command = { type = dissent value = 5 }
}
action = {
ai_chance = 5
name = "Poland has nothing to fear!"
command = { type = setflag which = Poland_Alone }
command = { type = dissent value = 3 }
}
}
Short explanation: If Finnland gets the event which ends the Finnish Winter War (99990911 in this case), Poland should get this event within the next 1-4 weeks. The other flags are set by earlier events which successfully triggered.
Another similar event which does not trigger is this one:
Code:
event = {
id = 99990920
random = no
country = EST
save_date = yes
trigger = { random = 25 event = 99990911 OR = { flag = FRA_EG flag = GER_EG } }
date = { day = 0 month = january year = 1938 }
offset = 3
deathdate = { day = 27 month = december year = 1963 }
name = "The threat in the East"
desc = "Russia has shown it's true face by starting the war with Finland. Many Estonian citizens believe that we could be the next Soviet's aggression victim. Maybe we should consider a membership in the EL to strengthen our position towards the Russian face."
style = 2
picture = "SV_EGTreaty"
decision_picture = "SV_EGTreaty_D"
action = {
name = "Send a membership application to the European League!"
command = { type = clrflag which = VOTE_EST when = 0 value = 0 }
command = { type = trigger which = 99990923 }
command = { type = event which = 99990926 where = EST when = 3 }
}
}
I don't know whats wrong here. The Finnish Winter War ever ends like designed with (End of the Finnish Winter War - Finns accepts
99990911) but then nothing happens... Both events should trigger some weeks (but not more than 4) after the End of the Winter War