• 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.
Showing developer posts only. Show all posts in this thread.

Darkrenown

Star marshal
142 Badges
Jan 8, 2002
24.761
16.975
no
  • Leviathan: Warships
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Impire
  • Europa Universalis III Complete
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis IV: Wealth of Nations
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Rome Gold
  • Hearts of Iron IV: No Step Back
  • Crusader Kings II: Sunset Invasion
  • Ancient Space
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • A Game of Dwarves
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • East India Company
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
Hey all, I've managed to use the seced province commands to form Germany without BB. I've now like to make some events for the GPs in europe triggered by the unification event. I've not really done much modding, and my first attempts aren't working out. Here's the events I made for France:
Code:
#Popular unification reaction
event = {
	id = 96010
	random = no
	country = FRA

	trigger = {
		event = 4612
		constitution = { country = FRA type = monarchy }
		constitution = { country = FRA type = constitutional_monarchy }
		
	}

	name = "Democratic Germany formed"
	desc = "The will of the people has united Germany"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "We can't stand democracies!"
		command = { type = relation which = GER value = -150 }
	}
	action_b = {
		name = "We must crush them!"
		command = { type = war which = GER }
	}
}


		
#Popular unification reaction
event = {
	id = 96020
	random = no
	country = FRA

	trigger = {
		event = 4616
		constitution = { country = FRA type = democracy }
		
	}

	name = "Democratic Germany formed"
	desc = "The will of the people has united Germany"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "A democratic Germany isn't so bad"
		command = { type = relation which = GER value = -50 }
	}
	action_b = {
		name = "We must crush them!"
		command = { type = war which = GER }
	}
}

#Conservitive empire reaction
event = {
	id = 96030
	random = no
	country = FRA

	trigger = {
		event = 4616
		constitution = { country = FRA type = democracy }
		
	}

	name = "Conservitive Germany formed"
	desc = "The reactionaries have united Germany"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "We can't stand reactionaries!"
		command = { type = relation which = GER value = -150 }
	}
	action_b = {
		name = "We must crush them!"
		command = { type = war which = GER }
	}
}


		
#Conservitive empire reaction
event = {
	id = 96040
	random = no
	country = FRA

	trigger = {
		event = 4616
		constitution = { country = FRA type = monarchy }
		constitution = { country = FRA type = constitutional_monarchy }
		
	}

	name = "Democratic Germany formed"
	desc = "The will of the people has united Germany"
	style = 0

	date = { day = 1 month = january year = 1836 }
	offset = 30
	deathdate = { day = 30 month = december year = 1920 }

	action_a = {
		name = "A conservitive Germany isn't so bad"
		command = { type = relation which = GER value = -50 }
	}
	action_b = {
		name = "We must crush them!"
		command = { type = war which = GER }
	}
}

Could someone tell me what I'm doing wrong? The event don't trigger in game, and I can't trigger them with f12 but they don't make the game crash.