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

Corporal
1 Badges
May 14, 2011
30
0
  • Darkest Hour
event = { id = EVENT_ID days = X } # Check if event with EVENT_ID has fired at least X days ago

I prepered that events:

event = {
id = 2003129
random = no
TAG = { GER }
decision = { }

decision_trigger = {
OR = {
AND = {
OR = {
atwar = FRA
atwar = POL
atwar = SOV
atwar = yes
event = 2189001 # Danzig Coup
}
}
AND = {
ai = yes
OR = {
atwar = FRA
atwar = POL
atwar = SOV
atwar = yes
event = 2189001 # Danzig Coup
}
}
}
}




trigger = {
OR = {
AND = {
OR = {
atwar = FRA
atwar = POL
atwar = SOV
atwar = yes
event = 2189001 # Danzig Coup
}
}
AND = {
ai = yes
OR = {
atwar = FRA
atwar = POL
atwar = SOV
atwar = yes
event = 2189001 # Danzig Coup
}
}
}
}

name = "Mobilization"
style = 2
picture = "Wehrmacht"
decision_picture = "decision_war_propaganda"

date = { day = 1 month = january year = 1936 }
offset = 1
deathdate = { day = 30 month = december year = 1961 }

action = {
ai_chance = 100
name = "Mobilization"
command = { type = trigger which = 2003130 }
command = { type = sleepevent which = 2003129 }

}
action = {
ai_chance = 0
name = "Don't need it"
command = {}
}

}

event = {
id = 2002131
random = no
country = GER
persistent = no


trigger = {
event = { id = 2003129 days = 3 }
}

name = "Mobilization Complied"
style = 0
picture = "news_paper"

date = { day = 1 month = january year = 1936 }
offset = 1
deathdate = { day = 30 month = december year = 1961 }

action_a = {
name = ACTION_NAME_OK
command = { type = unlock_division which = 14500 value = 135 }
command = { type = unlock_division which = 14500 value = 137 }
command = { type = unlock_division which = 14500 value = 139 }
command = { type = unlock_division which = 14500 value = 109 }
command = { type = unlock_division which = 14500 value = 110 }
command = { type = unlock_division which = 14500 value = 112 }
command = { type = unlock_division which = 14500 value = 114 }
command = { type = unlock_division which = 14500 value = 116 }
command = { type = unlock_division which = 14500 value = 117 }
command = { type = unlock_division which = 14500 value = 119 }
command = { type = unlock_division which = 14500 value = 121 }
command = { type = unlock_division which = 14500 value = 123 }
command = { type = unlock_division which = 14500 value = 124 }
command = { type = unlock_division which = 14500 value = 126 }
command = { type = unlock_division which = 14500 value = 127 }
command = { type = unlock_division which = 14500 value = 129 }
command = { type = unlock_division which = 14500 value = 131 }
command = { type = unlock_division which = 14500 value = 133 }

}
}

Why event 2002131 not works? Anybody help me? :)
 
There is an event 2002130, but it does not matter. The point is why do not fires the event 2002131? , The event 2002129 has already occurred, so why event 2002131 no works? I want this event 2002131 to be fired 3 days after the event 2002129. My question is, how work trigger " event = { id = EVENT_ID days = X } " ?

Any helps? :) Please...