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

JScott991

General
50 Badges
Feb 16, 2001
2.425
420
  • Magicka
  • Crusader Kings II: Reapers Due
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Hearts of Iron Anthology
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • For the Motherland
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome - Magna Graecia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis III: Collection
  • 500k Club
  • Victoria 2
  • Supreme Ruler 2020
  • Europa Universalis IV
  • Crusader Kings II: Charlemagne
I am trying to make an event that will cause Russia to leave Mitteleuropa in KR if Germany beats France.

I wrote the event attached, but it won't trigger for some reason. It works fine if I manually trigger it with the console, but something must be off in my conditions. I can't figure it out. I copied the triggers from other events that seem to work fine.


event = {
id = 903999
random = no
country = RUS
style = 2

trigger = {
alliance = { country = RUS country = GER }
NOT = {
exists = FRA
}
}

name = "The Second Weltkrieg is over. France is beaten."
desc = "Germany has won the war with our help, but it is time for Russia to look out for its own interests."
picture = "kerensky_rus"



action_a = {
name = "Russia has left its allies to follow its own path again."
command = { type = leave_alliance when = 1 }
}
}
 
I may be wrong, but I think the problem is that you don't have any start date.

Also, not to be a nag, but there's a thread ("Derpus von Derps Incredible Event Fixing Emporium") for event help that a lot of the developers and experienced modders frequent, which might be a better place to ask next time.

My attempt at fixing your event (untested):

event = {
id = 903999
random = no
country = RUS
style = 2

trigger = {
alliance = { country = RUS country = GER }
NOT = {
exists = FRA
}
}

name = "The Second Weltkrieg is over. France is beaten."
desc = "Germany has won the war with our help, but it is time for Russia to look out for its own interests."
picture = "kerensky_rus"

date = { day = 1 month = january year = 1939 } # start checking conditions
offset = 7 # offset is the number of days between trigger checks
deathdate = { day = 29 month = december year = 1982 } # stop checking

action_a = {
name = "Russia has left its allies to follow its own path again."
command = { type = leave_alliance when = 1 }
}
}
 
  • 1
Reactions:
I will test it out tonight.

Thanks for all the help!
 
  • 1
Reactions: