• 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
Could one of you fine gentlemen look at the following code and tell me when the conditions of the trigger should be fulfilled and the event fire? If you see some flaw in it that would prevent it from firing, please let me know. I cannot figure out for the life of me why this does not fire:

event = {
id = 2670
random = no
country = SOV

name = "German Attack on Soviet People"
desc = "The Soviet People will rise up and repel the German invader!"
style = 0

trigger = {
war = { country = GER country = SOV }
OR = {
NOT = {
control = { province = 772 data = SOV }
control = { province = 773 data = SOV }
control = { province = 778 data = SOV }
control = { province = 1222 data = SOV }
control = { province = 764 data = SOV }
control = { province = 766 data = SOV }
control = { province = 769 data = SOV }
control = { province = 774 data = SOV }
control = { province = 1360 data = SOV }
control = { province = 784 data = SOV }
control = { province = 785 data = SOV }
control = { province = 788 data = SOV }
control = { province = 791 data = SOV }
control = { province = 1260 data = SOV }
control = { province = 1359 data = SOV }
control = { province = 1220 data = SOV }
control = { province = 1258 data = SOV }
control = { province = 862 data = SOV }
}
AND = {
event = 2604
NOT = {
control = { province = 725 data = SOV }
control = { province = 719 data = SOV }
control = { province = 722 data = SOV }
control = { province = 717 data = SOV }
control = { province = 716 data = SOV }
control = { province = 642 data = SOV }
control = { province = 721 data = SOV }
control = { province = 718 data = SOV }
}
}
}
}

date = { year = 1936 month = january day = 1 }
offset = 5
deathdate = { year = 1945 month = july day = 15 }

action_a = {
name = "Repel the German Invader!"
command = { type = setflag which = GERvUSSR }
command = { type = dissent value = -10 }
command = { type = sleepevent which = 2671 }
}
}