• We will be taking the forums down for scheduled maintenance on Tuesday, May 22nd 2023 at around 8:00 CDT / 13:00 UTC for up to an hour hour.
  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(5553)

Captain
Aug 29, 2001
442
0
Visit site
Either the flags do not work or the event commands.txt file incompletely advises on their use. In the following couplet of events, the first event fired, and the french chose choice A, which should have set a flag that should have caused the second event to fire. The second event never fired.

event = {
id = 2003
random = no
country = FRA
# Triggered by CZE 2200
name = "French Response to UK Offer of Sudetenland"
desc = "France had entered into a treaty with Czechoslovakia guaranteeing its independence and promising to come to its aid if subjected to aggression. The French were tossed onto the horns of a dilemma by Hitler's gambit, as they desired to fulfill their obligations to Czechoslovakia, but they craved an avoidance of war almost as much as fine wine. As a treaty partner of Czechoslovakia, France's response to the British offer would have a crucial impact on the course of the crisis."
style = 0

action_a = {
name = "OK, Give Hitler What He Wants"
command = { type = dissent value = -5 }
command = { type = influence value = -25 }
command = { type = warentry value = -10 }
command = { type = setflag which = FRAYES } # Causes event 2005 to fire
}
action_b = {
name = "No, We Have a Treaty With Czechoslovakia"
command = { type = dissent value = 3 }
command = { type = influence value = 10 }
command = { type = warentry value = 5 }
command = { type = trigger which = 2004 }
}
}


*******

event = {
id = 2005
random = no
country = GER
# Triggered by GER 2003
name = "France Capitulates"
desc = "The English and French responded exactly the way Hitler expected them to. They desired the absence of war more than anything else. They would not stand up to him. He could take all of Czechoslovakia, but he would start with the Sudetenland. However, the Western Powers' docility emboldened Hitler to make additional demands. He wanted more than just 3 million Germans added to his realm. He wanted immediate occupation of the entire Sudetenland. Perhaps, even, what he really wanted was war, and he would push the West until they granted it to him. Thus, at another conference in Bad Godesberg, Hitler was prepared with new demands."
style = 0

trigger = { flag = FRAYES }
date = { year = 1938 month = september day = 22 }

action_a = {
name = "Press New Demands"
command = { type = dissent value = 1 }
command = { type = warentry which = ENG value = 3 }
command = { type = warentry which = FRA value = 3 }
command = { type = influence value = 5 }
}
action_b = {
name = "This Is Fine"
command = { type = manpowerpool value = 200 }
command = { type = dissent value = -1 }
command = { type = influence value = 5 }
command = { type = warentry which = ENG value = -3 }
command = { type = warentry which = FRA value = -3 }
command = { type = sleepevent which = 2006 }
}
}
 
Upvote 0