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

Black Guardian

Major
25 Badges
Dec 31, 2005
590
25
  • Europa Universalis IV: El Dorado
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Steel Division: Normandy 44 -  Back to Hell
  • Steel Division: Normand 44 - Second Wave
  • Steel Division: Normandy 44
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Cities in Motion
  • Cities: Skylines
  • 500k Club
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
  • Cities in Motion 2
Now, after changing the TAG of a country (which works fine), i have got a problem with the events for the new country...

The events for this country doesn´t fire, but i can´t find any mistake in the code...


Code:
 #########################################################################
#  60001 Proklamation der RAL 
#########################################################################

event = { 
	id = 60001
	country = AUS
	random = no
	picture = RAL

	# Triggered by Schweiz 2000000
	
	name = "Proklamation der RAL"
	desc = "Es ist vollbracht! Die beiden Alpenstaaten, Österreich und die Schweiz, haben ihre Zustimmung zur Gründung eines neuen Staates gegeben. Bereits am morgigen Tage werden wahlen stattfinden, um ein gemeinsames Parlament aufzustellen. Möge die Republik Alpiner Länder lange bestehen!"
	style = 0

	action_a = { name = "Lang lebe die RAL!"
	

		command = { type = country which = U19 }
 		command = { type = addcore which = 530 }
		command = { type = addcore which = 372 }
		command = { type = addcore which = 532 }
		command = { type = addcore which = 533 } 
		command = { type = trigger which = 2000001 }  #Schweiz		
		command = { type = supplies value = 5000 }
		command = { type = energypool value = 10000 }
		command = { type = rarematerialspool value = 2000 }
		command = { type = oilpool value 20000 } 
		command = { type = money value = 1000 } 
		command = { type = manpowerpool value = 1000 } 
		
} 
}

[COLOR=Blue]
(THIS ONE WORKS FINE)[/COLOR]

#########################################################################
#  60002  RAL-Parlamentswahlen
#########################################################################

event = { 
	id = 60002
	country = U19
	random = no
	picture = RAL

	name = "RAL-Parlamentswahlen"
	desc = "Heute finden die ersten Parlamentswahlen der RAl statt, um eine gemeinsame Regierung für das neue Land zu schaffen."
	style = 0

	trigger = { exists = U19 }

	date = { day = 11 month = january year = 2064 } 
	offset = 1
	deathdate = { day = 1 month = december year = 2200 }


	action_a = { name = "Gemäßigte Rechte wählen"
	ai_chance = 30		
		
	command = { type = domestic which = political_left value = -2 }
} 

	action_b = { name = "Gemäßigte Linke wählen" 
	ai_chance = 40 
	
	command = { type = domestic which = political_left value = 2 } 
}
	action_c = { name = "Linksextreme wählen"
	ai_chance = 15

	command = { type = set_domestic which = political_left value = 10 }
	command = { type = dissent value = 3 } 
	command = { type = relation which = GER value = -50 } 
	command = { type = domestic which = democratic value = -1 } 

} 
	action_d = { name = "Rechtsextreme wählen" 
	ai_chance = 15 
	
	command = { type = set_domestic which = political_left value = 1 } 
	command = { type = dissent value = 5 } 
	command = { type = relation which = GER value = 100 }
	command = { type = domestic which = democratic value = -1 }
} 
	

}

This is the first one... logically the country Tag is U19, it works fine seceding some provinces to the new country, and it even exists, so why doesnt this event work? :confused:
 

Black Guardian

Major
25 Badges
Dec 31, 2005
590
25
  • Europa Universalis IV: El Dorado
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Steel Division: Normandy 44 -  Back to Hell
  • Steel Division: Normand 44 - Second Wave
  • Steel Division: Normandy 44
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Cities in Motion
  • Cities: Skylines
  • 500k Club
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II
  • Cities in Motion 2
I tried to save and reload the game after the first event.
Doing this my new events works...

Is it possible (however) making the events for U19 work without saving and reloading?
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • Hearts of Iron II: Armageddon
  • 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
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
Black Guardian said:
I tried to save and reload the game after the first event.
Doing this my new events works...

Is it possible (however) making the events for U19 work without saving and reloading?

try deleting the 'trigger = { exists = U19 }' for the U19 event. Sometimes when a country changes tag it takes the game awhile to realise it is a 'new' country tag (in older paradox games' the name of the old country would sometimes pop up (so castille changing to spain could have an event saying 'castile had 'blah blah blah), saving and reloading would sort things out.

You do not need that particular trigger as the country IS U19 (so the country would have to exist for it to get the event anyway).

try it and see if that works.

Ayeshteni