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

Acguy

MSM-04
68 Badges
Dec 19, 2009
746
6
  • Majesty 2
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • Victoria 2: A House Divided
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • For The Glory
  • March of the Eagles
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Supreme Ruler: Cold War
  • Victoria 2
  • The Showdown Effect
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Arsenal of Democracy
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
My friend is making an KR AAR but he needed a helping event, so I made one for him, but it doesn't work for some reason. Can anyone see the problem?

Code:
event = {
id = 999999
random = no
country = CSX
style = 0
picture = "Japan_Invasion"

name = "Japanese brutality in Taiwan"
desc = "Peaceful pro-Qing demonstrations in Taiwan was brutally crushed by the Japanese and the people demand a reaction from the Emperor!"

action_a = {
ai_chance = 40
name = "This is unnaceptable! To War!"
command = { type = war which = JAP }
}

action_b = {
ai_chance = 60
name = "We cannot risk war! File a complaint to Hirohito."
command = { type = dissent value = 10 }
}
 

unmerged(169228)

Back from the dead
4 Badges
Sep 26, 2009
1.749
2
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III Complete
  • Victoria 2: A House Divided
Your event lacks a proper trigger, like a fixed date or a set period of time, to fire it.
 

Acguy

MSM-04
68 Badges
Dec 19, 2009
746
6
  • Majesty 2
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • Victoria 2: A House Divided
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Leviathan: Warships
  • The Kings Crusade
  • Magicka
  • For The Glory
  • March of the Eagles
  • Penumbra - Black Plague
  • Pirates of Black Cove
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Supreme Ruler: Cold War
  • Victoria 2
  • The Showdown Effect
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Arsenal of Democracy
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Dungeonland
  • East India Company Collection
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
Code:
event = {
id = 999999
random = no
country = CSX
style = 0
picture = "Japan_Invasion"

name = "Japanese brutality in Taiwan"
desc = "Peaceful pro-Qing demonstrations in Taiwan was brutally crushed by the Japanese and the people demand a reaction from the Emperor!"

action_a = {
ai_chance = 40
name = "This is unnaceptable! To War!"
command = { type = war which = JAP }
}

action_b = {
ai_chance = 60
name = "We cannot risk war! File a complaint to Hirohito."
command = { type = dissent value = 10 }
}
}

So like this? I'll ask him to try it out.