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

Private
Feb 2, 2007
10
0
Hi there, I tried to re-make some random event (revolt). I wanted to add a trigger (if a nation have stability +3, no province will revolt). It looks like:
event = {
id = 94001 # Paradox 1001
trigger = {
NOT = { stability = 3 }
}
random = yes
name = "EVENTNAME1"
desc = "EVENTHIST1"
style = 0

action_a = {
name = "OK"
command = { type = revolt which = -1 }
}

but it didn't work. I also tried to change the trigger just to atwar=no, but even if I was at peace, provinces were revolting. Looks like I cannot change triggers of random events.. any ideas?
 
You're missing a }.

event = {
id = 94001 # Paradox 1001
trigger = {
NOT = { stability = 3 }
}
random = yes
name = "EVENTNAME1"
desc = "EVENTHIST1"
style = 0

action_a = {
name = "OK"
command = { type = revolt which = -1 }
}}