Code:trigger = { AND = { local_flag = { which = economic_growth when = 1 value = 11 } local_flag = { which = economic_growth when = -1 value = 20 } #NOT = { local_flag = { which = economy_recession } } } } [code] This means the event will fire only if local_flag economic_growth is set for this country and its value is >= 11 AND <= 20. It looks correct to me. Are you sure you're setting economic_growth to a proper value in another event? However, if you cannot event get this to fire via console, perhaps the problem is another one: [LIST] [*]is this event in a new event file? new event files must be added to a savegame/scenario in order to use them [*]perhaps there's an extra } before this event that "closes" the file so no event are read after that [/LIST]
Thanks for all the good feedback and tips. I was able to confirm I'm setting the local flag value properly, as well as that I had properly added the new file to the scenario and that there weren't any additional {} hanging around. The problem was that the actions cannot have a trigger in them. SInce all the actions had a trigger on them, they wouldn't appear, making the event not fire properly, even in console.
Code:
action = {
name = "Recession from Depression Text"
trigger = { local_flag = economy_depression }
command = { type = peacetime_ic_mod value = 10 when = 0 }