• 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.
customevent.1 = {
type = country_event
trigger = {
is_ai = no
not = { has_country_modifier = custommodifier }
}
option = {
add_country_modifier = {
name = "custommodifier "
duration = -1
}
}
}

the event works and triggering it in console shows green ticks for conditions but it doesnt trigger by it self
 
type = country_event
title = "Title"
desc = "Title"
picture = ship_in_storm
goto_location = root
hidden = yes

Try including all of this stuff, and I assume you also made the namespace = customevent above it?

Also try adding a name = "OK" right below the option.
 
copy pasted stability event to test ( removed all the fluff )

namespace = test_event


test_event.1 = {
type = country_event
title = "stability.1.t"
desc = "stability.1.d"
picture = bakery

left_portrait = root.current_ruler

trigger = {
is_ai = no
}

option = {
name = "stability.1.a"
}

option = {
name = "stability.1.b"
}

option = {
name = "stability.1.c"
}
}

still not firing by it self, triggering it through console still works showing that condition was met
 
Where are you triggering the event from, an on_action or another event?

Do events even fire by themselves in Imperator?
 
Last edited:
Good question Dayshine :) I haven't seen any MTTH yet...

Potkin, you may need to add it to an on_action event - the on_initialization if you want to fire it on game start, or the on_monthly_country or whatever it's called if you want it checked monthlly.