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

Second Lieutenant
Jul 22, 2007
190
0
why is this event continuously firing every month, i set the flags so it should only fire once


country_event = {

id = 7303

trigger = {
not = { has_country_flag = heavy_infantry_path }
not = { has_country_flag = ideas_chosen_military }
or = {
primary_culture = macedonian
primary_culture = greek
primary_culture = egyptian
culture_group = germanic
}
}


mean_time_to_happen = {
months = 1
}

title = "Heavy infantry will serve us well"

desc = "Like our ancestors before us, we find it easier to fight with well trained infantry instead of untamed horses."

option = {
name = "We too will fight with infantry"
set_country_flag = heavy_infantry_path
set_country_flag = ideas_chosen_military
}
}
 
2763r57651265 said:
why is this event continuously firing every month, i set the flags so it should only fire once

Code:
country_event = {

	id = 7303

	trigger = {
		not = { has_country_flag = heavy_infantry_path }
		not = { has_country_flag = ideas_chosen_military }
		or = {
			primary_culture = macedonian	
			primary_culture = greek
			primary_culture = egyptian
			culture_group = germanic	
		}		
	}


	mean_time_to_happen = {
		months = 1
	}

	title = "Heavy infantry will serve us well"

	desc = "Like our ancestors before us, we find it easier to fight with well trained infantry instead of untamed horses."

	option = {
		name = "We too will fight with infantry"			
		set_country_flag = heavy_infantry_path
		set_country_flag = ideas_chosen_military
	}
}
I can't install Rome yet so I am not sure if I am right but I will go off my EU3 knowledge...

Don't the nots need to be capitalized? (I think the or does also)

That would make it:

Code:
country_event = {

	id = 7303

	trigger = {
		NOT = { has_country_flag = heavy_infantry_path }
		NOT = { has_country_flag = ideas_chosen_military }
		OR = {
			primary_culture = macedonian	
			primary_culture = greek
			primary_culture = egyptian
			culture_group = germanic	
		}		
	}


	mean_time_to_happen = {
		months = 1
	}

	title = "Heavy infantry will serve us well"

	desc = "Like our ancestors before us, we find it easier to fight with well trained infantry instead of untamed horses."

	option = {
		name = "We too will fight with infantry"			
		set_country_flag = heavy_infantry_path
		set_country_flag = ideas_chosen_military
	}
}
 
the capitalization thing is not it, because I have other events that look almost exactly the same, but just the flags are different, the capitalization was apparently taken out of rome.