• 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(45331)

Little arsonist
Jun 15, 2005
559
0
Can peace event fire in the battlescenarios? I've inserted the line like this one from event commands

Code:
type = peace which = [country tag] value = [0/1] # 1 means separate peace - i.e. pull out of alliance. 0 is full peace, for the whole alliance.

into the event to fire on a specific day, with no other triggers. Still, it didn't fire.
 

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
well fall_weiss_scenario has a peace command...

Code:
#########################################################################
#  Stalin forced to sign armistice with Poland
#########################################################################
event = {
	id = 7
	random = no
	country = SOV

	trigger = {
 				random = 10
				event = 6
}

	name = "fw_event11_name"
	desc = "fw_event11_desc"
         picture = "stalin_meeting"
	style = 0

	date = { day = 1 month = october year = 1939 }
	offset = 3

	action_a = {
		name = "fw_actionname11A" #The War is over
		command = { type = vp value = -20 }
		command = { type = peace which = POL value = 1 }
	}
}

So I assume it should work. perhaps if you provide another command (like the vp value given) it may work (or provide a high random value trigger so it should fire 9/10 times.)

Ayeshteni