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

it068

Major
36 Badges
Oct 29, 2011
543
30
  • Europa Universalis IV: Wealth of Nations
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Iron Cross
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Cities in Motion
  • Europa Universalis III: Chronicles
  • Darkest Hour
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Prison Architect: Psych Ward
  • Island Bound
  • Europa Universalis 4: Emperor
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • 500k Club
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
Hi all,

I've made the following event for Poland to have the option to declare war on Germany after Long Knives. But the event won't trigger at all, even when I force it. Can anyone help? BTW, I have added the trigger to the NOTLK event.

event = {
id = 9300605
random = no
country = POL

name = Pre-Emptive War?
desc = The Nazis are consolidating their power and military after Night of the Long Knives! Should we occupy East Prussia and neutralise the threat before they get too powerful?
style = 2
picture = "Long_Knives"

# triggered by GER NOTLOK event 2003138

action_a = {
ai_chance = 0
name = "ACTION_NAME_YES"
command = { type = inherit which = U06 value = 1 }
command = { type = relation which = GER value = -200 }
command = { type = war which = POL }
command = { type = addcore which = 181 }
command = { type = addcore which = 183 }
command = { type = addcore which = 182 }
command = { type = addcore which = 184 }
}
action_b = {
ai_chance = 100
name = "ACTION_NAME_NO"
command = { type = dissent value = 3 }
command = { type = relation which = GER value = 10 }
}
}
 
name = "Pre-Emptive War?"
desc = "The Nazis are consolidating their power and military after Night of the Long Knives! Should we occupy East Prussia and neutralise the threat before they get too powerful?"

EDIT: also, command = { type = war which = GER } is probably what you're looking for.
 
name = "Pre-Emptive War?"
desc = "The Nazis are consolidating their power and military after Night of the Long Knives! Should we occupy East Prussia and neutralise the threat before they get too powerful?"

EDIT: also, command = { type = war which = GER } is probably what you're looking for.
Thanks for your help, I've edited those, but the event still won't fire.
 
Thanks for your help, I've edited those, but the event still won't fire.
Please post the correct event again.
Is this the only event you added or did you add others to the same file? Check is there are no extra } before this event that "close" the file.
Check savedebug for errors.
 
Your brackets { } are OK. You need to put quotations marks " " around the name and description


name = "Pre-Emptive War?"
desc = "The Nazis are consolidating their power and military after Night of the Long Knives! Should we occupy East Prussia and neutralise the threat before they get too powerful?"