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

kodiak491

First Lieutenant
33 Badges
Jan 18, 2003
286
9
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Arsenal of Democracy
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Iron Cross
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Darkest Hour
  • Hearts of Iron II: Armageddon
I have an event chain that fires every january and july to represent Chinese-German training and raw materials deals prewar. The events works great until Germany is at war. Once one of the events tries to fire with Germany at war the game freezes on the morning of the event (although the event box never display). Oddly it still lets me give orders and interact with units but it stays stuck on the same hour and I can't save the game so I have to dump out to windows and start again.

Can anyone help with this problem? I know the brackets are all correct because the events fire perfectly until Germany goes to war. I am convinced the problem lies in the trigger.
I have tried
NOT = { war = { country = GER country = ENG } }
and
NOT = { OR = { war = { country = GER country = ENG } } }
but both have the same result.

Any help would be dearly appreciated. The full version of the first event is below;

event = {
id = 9001208
random = no
country = CHI
trigger = {
exists = GER
NOT = { atwar = GER }
}

name = "German / Chinese Trade"
desc = "Germany and China have a technology for raw materials deal. Do we continue it?"
picture = "Sian_Inicident"

date = { day = 2 month = january year = 1936 }
deathdate = { day = 12 month = march year = 1999 }

action_a = {
ai_chance = 99
name = "Good."
command = { type = trigger which = 9001209 }
command = { type = relation which = GER value = 10 }
}
action_b = {
ai_chance = 1
name = "Never mind!"
command = { type = sleepevent which = 9001211 }
command = { type = sleepevent which = 9001212 }
command = { type = sleepevent which = 9001213 }
command = { type = sleepevent which = 9001214 }
command = { type = sleepevent which = 9001215 }
command = { type = sleepevent which = 9001216 }
command = { type = sleepevent which = 9001217 }
command = { type = sleepevent which = 9001218 }
command = { type = sleepevent which = 9001219 }
command = { type = sleepevent which = 9001220 }
command = { type = sleepevent which = 9001221 }
command = { type = sleepevent which = 9001222 }
command = { type = sleepevent which = 9001223 }
command = { type = relation which = GER value = -10 }
command = { type = end_trades which = GER where = CHI }
}
}
 

Zuckergußgebäck

Den ökända hästen från Troja
11 Badges
Jan 7, 2004
8.851
2
  • Hearts of Iron II: Armageddon
  • Deus Vult
  • Europa Universalis III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Hearts of Iron IV Sign-up

kodiak491

First Lieutenant
33 Badges
Jan 18, 2003
286
9
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Arsenal of Democracy
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Iron Cross
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Darkest Hour
  • Hearts of Iron II: Armageddon
Zuckergußgebäck said:
You need an offset. Try putting
Code:
offset = 5
between the two dates or simply remove the deathdate line.


I just did a quick test and this appears to work. Thanks for the assist.