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

FOARP

Field Marshal
47 Badges
Sep 10, 2008
6.153
4.090
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • Magicka
  • Heir to the Throne
  • Hearts of Iron III
  • Gettysburg
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Darkest Hour
  • Arsenal of Democracy
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Victoria 2
  • Steel Division: Normandy 44
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • 500k Club
  • Warlock: Master of the Arcane
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
I've been trying to make a mod using a combination of the excellent E3 Map, the Third Reich mod's events, and a special chain events whereby, rather than refuse Soviet assistance as in real life, the Poles accepts assistance from the Soviets, thus meaning that the player gets to fight an ultra-tough war on two fronts against the Sovs and the Allies starting in 1939.

One problem though: the events which initiate the event chain (i.e., an event where the Brits choose to negotiate with the Sovs, and an event where the Germans can pre-empt this by negotiating with the Sovs so that people playing as Germany are not locked into the event chain if they do not want to be) doesn't work. For some reason the first event doesn't fire the second.

Can anyone tell me why? I can't see what the problem is:

Code:
#########################################################################
#  Guarantee Independence to Poland
#########################################################################
event = {
	id = 3401
	random = no
	country = ENG

	trigger = {
		exists = POL
	        exists = GER
		OR = { 
		       event = 2006 #  The End of Czechoslovakia - Czechs annexed
		       event = 2007 #  The End of Czechoslovakia - Czechs wish a fight!
		       event = 2011 #  The End of Czechoslovakia - Czecho-Slovakia partitioned
		       event = 2012 #  The End of Czechoslovakia - Czechs fight!
		}
		NOT = {
			OR = {
				ispuppet = ENG
				alliance = { country = POL country = SOV }
				alliance = { country = POL country = GER }
                                alliance = { country = POL country = ENG }
			}
		}
		NOT = {
			atwar = POL
		}
	}


	name = "The defense of Poland"
	desc = "Recent developments in Central Europe have shown that the Nazis are bent on bringing all of Europe under their sway, shall we press for an alliance with the USSR to guarantee the independence of Poland?"
	style = 0
	picture = "guarantee_POL"

	date = { day = 30 month = march year = 1939 }

	action_a = {
		ai_chance = 98
		name = "Negotiate with the Soviets (initiates War on Two Fronts events chain)" # Poland must be protected
		command = { type = relation which = POL value = 25 }
		command = { type = relation which = FRA value = 10 }
		command = { type = relation which = SOV value = 10 }
		command = { type = relation which = GER value = -50 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = money value = -800 }
		command = { type = trigger which = 127001 } # German opportunity to stop Anglo-Soviet guarantee
	}
	action_b = {
		ai_chance = 1
		name = "We will guarantee Poland's independence" # Poland must be protected
		command = { type = relation which = POL value = 25 }
		command = { type = relation which = FRA value = 10 }
		command = { type = relation which = GER value = -15 }
		command = { type = domestic which = interventionism value = 1 }
		command = { type = money value = -200 }
		command = { type = trigger which = 3600 } # POL
	}
	action_c = {
		ai_chance = 1
		name = "War must be avoided at all costs!" # The world must be spared another Great War
		command = { type = dissent value = 15 }
		command = { type = relation which = POL value = -25 }
		command = { type = relation which = FRA value = -10 }
		command = { type = relation which = GER value = 15 }
		command = { type = domestic which = interventionism value = -2 }
		command = { type = trigger which = 3603 } # POL
	}
}


##################################################
# German Influence on Soviet assistance to Poland
##################################################
event = {
	id = 127001
	random = no
	country = GER
	style = 0

	name = "Two Fronts"
	picture = "Poland"
	desc = "Our intelligence services have discovered that the British have approached the Soviets to assist the Poles in the event of a German attack on Poland. However, we can forestall such an alliance by entering into negotiations with the USSR. What are your orders my Fuhrer?"

action_a = {
		ai_chance = 100 
		name = "No, let us destroy all our enemies in one go (initiates the War On Two Fronts Event Chain)"
		command = { type = trigger which = 127002 }
		command = { type = sleepevent which = 2050 } #Nazi Soviet Pact
		}
	action_b = {
		ai_chance = 0 
		name = "OK (sleeps the War On Two Fronts Event Chain)"
		}
}