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

Antimatter

Second Lieutenant
86 Badges
Sep 4, 2005
137
0
  • 500k Club
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Rome Gold
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Hearts of Iron III Collection
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis 4: Emperor
  • Europa Universalis III
  • 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
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Europa Universalis III: Chronicles
  • 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
Has anyone else noticed a problem using war_with? I'm just doing some tests and it seems to be acting strangely. For instance, using war_with = ROM works great at checking if the current country is at war with Rome (checked with Magna Graecia). However, loading up as Rome and using the trigger any_neighbor_country = { war_with = ROM } actually checks Magna Graecia, as you'd expect, but the war_with returns false even though they are certainly at war. Similarly, war_with = THIS returns false there as well.

Does this sound like a bug to anyone else, or am I doing something wrong?

Here's the full event code, with the neighbor province part currently commented out:
Code:
country_event = {
	id = 2100400
	
	trigger = {
		#any_neighbor_country = {
			war_with = ROM
		#}
	}
	
	title = "test"
	desc = "desct"
	
	option = {
		name = "check"
	}
}
 
ignore this post, wrong thread