• We will be taking the forums down for scheduled maintenance on Tuesday, May 22nd 2023 at around 8:00 CDT / 13:00 UTC for up to an hour hour.
  • 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(6926)

Second Lieutenant
Dec 19, 2001
123
0
Visit site
Please tell me why this event doesn't fire. Especially - is it possible checking different countries in triggers?

All condition are true, I can start it by cheat window but it doesn't start in game. Thanks in advance!

PHP:
event = {
	id = 80383
	random = no
	country = BYZ
	trigger = {
		countrysize = 15 
		  owned = { province = 357 data = -1 } #City
		  owned = { province = 477 data = -1 } #Anatolia
		  owned = { province = 478 data = -1 } #Smyrna
		  owned = { province = 464 data = GEN } #Kaffa
		  owned = { province = 465 data = GEN } #Kerch
		}

	name = "We controll the Straits!"
	desc = "With the end of our influence in the Black Sea, we are denied passage through the Bospherus.  As soon as we leave the Roman Empire will likely seize the area."
	style = 1

	action_a = {
		name = "Develop trade and drop claims to Kaffa and Kerch"
		command = { type = provincetax   which = 357 value = 3 } 
		command = { type = provincetax   which = 477 value =  1 } 
		command = { type = provincetax   which = 478 value =  2 } 
		command = { type = relation which = VEN value = 50 }
		command = { type = relation which = GEN value = 250 }
	}
	action_b = {
		name = "Demand Kaffa and Kerch"
		command = { type = addcore which = 464 } # 
		command = { type = addcore which = 465 } # 
		command = { type = trigger   which =  80385}   #fmission for or Genoa

	}

}