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

Sute]{h

Field Marshal
88 Badges
Jun 25, 2002
3.508
199
  • Europa Universalis IV: Pre-order
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome Collectors Edition
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Crusader Kings II
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Majesty 2
I'm having trouble with this event:
Code:
country_event = {

	id = 100000

	trigger = {
		tag = SEM
		num_of_vassals = 1
		government = republic
		[color=red]NOT = { has_country_flag = no_cathak_deliberator }[/color]
		CAT = {
			tribute = yes
			culture = imperial
			religion = imperial_faith
			or = {
				government = air_aspected_great_house
				government = earth_aspected_great_house
				government = fire_aspected_great_house
				government = water_aspected_great_house
				government = wood_aspected_great_house
				government = unaspected_great_house
			}
		}
		any_character = {
			NOT = { 
				has_character_flag = cathak_deliberator
				has_title = title_cathak_deliberator
			}
		}
	}

	mean_time_to_happen = {
		months = 6

		modifier = {
			factor = 1.5
			ruler = { traits = suspicious }
		}
		modifier = {
			factor = 0.5
			ruler = { traits = trusting }
		}
	}

	title = "EVTNAME100000" #House Cathak needs a new Deliberator
	desc = "EVTDESC100000" 

	option = {
	name = "EVTOPTA100000" #Allow House Cathak to send a new Deliberator
		ai_chance = { factor = 90 }
		relation = { who = CAT value = 5 }
		[color=red]set_country_flag = no_cathak_deliberator[/color]
	}

	option = {
	name = "EVTOPTB100000" #Lets try to stall the appointment
		ai_chance = { factor = 10 }
		relation = { who = CAT value = -25 }
	}
}
For some reason it keeps firing even if option a is selected. But in the trigger I've set the condition that the receiving country mustn't have the country flag assigned when selecting option A. Can anyone tell me what I've done wrong?
 
Last edited:
Found the problem. Had two events with the same id number. :eek:o