• 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.

Mr_B0narpte

Field Marshal
12 Badges
Mar 15, 2009
4.720
352
  • Arsenal of Democracy
  • Cities in Motion
  • Darkest Hour
  • For The Glory
  • Hearts of Iron III
  • Rome Gold
  • Victoria 2
  • Rome: Vae Victis
  • 500k Club
  • Pride of Nations
  • Rise of Prussia
  • Hearts of Iron IV Sign-up
I tried to trigger it using the F12 then "event 80020" but it didn't fire, I'm pretty sure it's not a repeat id but if there's nothing wrong with this event, I'll look more thoroughly. :confused:

#####################################################
# German celebration in defeating UK and France
######################################################
event = {
id = 80020
random = no
country = GER

name = "Germany celebrates the fall of the British Isles and metropolitan France"
desc = "With the removal of the United Kingdom and France from western Europe they have lost their main industrial base and no longer pose a serious threat to Germany, wunderbar!"
picture = "226"
style = 0

trigger = {
event = 2021 # Vichy France
# England
control = { province = 19 data = -3 } # London
control = { province = 16 data = -3 } # Birmingham
control = { province = 23 data = -3 } # Plymouth
control = { province = 21 data = -3 } # Portsmouth
control = { province = 20 data = -3 } # Dover
control = { province = 17 data = -3 } # Norwich
control = { province = 13 data = -3 } # Sheffield
control = { province = 14 data = -3 } # Liverpool
control = { province = 22 data = -3 } # Bristol
control = { province = 12 data = -3 } # Blackpool
control = { province = 11 data = -3 } # Sunderland
# Wales
control = { province = 15 data = -3 } # Cardiff
# Scotland
control = { province = 10 data = -3 } # Edinburgh
control = { province = 9 data = -3 } # Glasgow
control = { province = 8 data = -3 } # Dunfermline
control = { province = 7 data = -3 } # Aberdeen
control = { province = 6 data = -3 } # Inverness
control = { province = 5 data = -3 } # Scapa Flow
control = { province = 3 data = -3 } # Stornoway
# Northern Ireland
control = { province = 28 data = -3 } # Belfast
control = { province = 29 data = -3 } # Portadown
}

date = { day = 30 month = august year = 1939 }
offset = 2
deathdate = { day = 30 month = january year = 1999 }

action_a = {
ai_chance = 0
name = "Allow the masses their celebration"
command = { type = dissent value = -5 } # popular
}
action_b = {
ai_chance = 100 # it wouldn't puppet England
name = "Channel these celebrations into the war effort"
command = { type = supplies value = 1500 }
}
}
}
 
According to Notepad++ one closing bracket too much at the end. Please remove and test again.
If it does still noit work, maybe the -3 is broken ? Please comment out the control lines and try again. If it works then try inverting the control lines and use -2 .
 
Thanks for the help but none of that worked, I changed the -3 to -1 then to ENG, then blocked the control lines altogether and still no luck. I removed the extra closing bracket too, I even changed the event id to another one, while made sure that id was not used elsewhere but still no luck. I was able to trigger several other events using the F12 thing, just not this one I've tried to make. :unsure:
 
I even changed the event id to another one,

If the id had been used by another event it would have caused an error when loading the game.

I was able to trigger several other events using the F12 thing, just not this one I've tried to make. :unsure:

And those events were in the same file? The file was saved before starting the game or to be more precisely before loading whatever save you did load? :noidea:
 
I tried to trigger it using the F12 then "event 80020" but it didn't fire, I'm pretty sure it's not a repeat id but if there's nothing wrong with this event, I'll look more thoroughly. :confused:

Did you search the save for "80020"? I am pretty sure the problem is in the save and not the event itself. After the removing the one bracket too much i included your event and could trigger it via the console in a new started 1936 campaign.
 
Might it be better to use NOT = when constructing the trigger?

You can set it to trigger when those provinces are not all owned by England.

Code:
NOT = {
control = { province = 19 data = ENG } # London
etc etc  .....rest of 'control' statements here..
}

Thefore when the provinces are all NOT owned by England (and Scotland, Wales, Northern Ireland too) it should trigger.


#Cakes
 
Did you search the save for "80020"? I am pretty sure the problem is in the save and not the event itself. After the removing the one bracket too much i included your event and could trigger it via the console in a new started 1936 campaign.
Yeah I checked the save, maybe I need to reinstall the game and mod or something, if that's the case I really can't be bothered to be honest as all the other events work fine.

Might it be better to use NOT = when constructing the trigger?

You can set it to trigger when those provinces are not all owned by England.

Thefore when the provinces are all NOT owned by England (and Scotland, Wales, Northern Ireland too) it should trigger.
Thanks, I was going to do that, but it seems pretty pointless now as the event doesn't work in the first place. :(