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

GermanWehrmacht

Lt. General
59 Badges
Nov 11, 2005
1.463
0
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Supreme Ruler: Cold War
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Battle for Bosporus
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
Im trying to create an Event and when i think i have it down i get this error.
helpjgppa1.jpg

Also heres the event im trying to work on.
#############################################
###### Choose a Germany #
#############################################
event = {
id = 10000000
random = no
country = GER

#To be triggered manually

name = "Choose which Germany to play as."
desc = "Gotta love the way to have a free mind in the free world of Germany."
style = 0


action_a = {
name = "Cool!"
command = { type = country which = DFR }
command = { type = set_domestic which = democratic value = 10 }
command = { type = set_domestic which = political_left value = 2 }
command = { type = set_domestic which = freedom value = 10 }
command = { type = set_domestic which = free_market value = 8 }
command = { type = set_domestic which = professional_army value = 7 }
command = { type = set_domestic which = defense_lobby value = 3 }
command = { type = set_domestic which = interventionism value = 6 }
command = leave_alliance
}
action_b = {
name = "sweet"
command = { type = country which = DDR }
command = { type = set_domestic which = democratic value = 1 }
command = { type = set_domestic which = political_left value = 10 }
command = { type = set_domestic which = freedom value = 1 }
command = { type = set_domestic which = free_market value = 1 }
command = { type = set_domestic which = professional_army value = 7 }
command = { type = set_domestic which = defense_lobby value = 3 }
command = { type = set_domestic which = interventionism value = 6 }
command = leave_alliance
}
action_c = {
name = "damn"
command = { type = dissent value = 25 }
}
What did i do wrong and how do i make it right?
 

blue emu

GroFAZ
Moderator
8 Badges
Mar 13, 2004
17.503
20.142
  • Crusader Kings II
  • Europa Universalis III
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis: Rome
  • 500k Club
  • Hearts of Iron II: Beta
command = { type = leave_alliance }
 

GermanWehrmacht

Lt. General
59 Badges
Nov 11, 2005
1.463
0
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Supreme Ruler: Cold War
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Battle for Bosporus
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
ah ok just dont get it was targeting the line with action_b.

Edit: Its still not working. Its still saying "(unknown lhs in command) action_b"
 
Last edited:

Gen. Skobelev

Werewolf therapist
81 Badges
May 9, 2005
3.387
251
  • Victoria: Revolutions
One } missing at the bottom of event.
 

GermanWehrmacht

Lt. General
59 Badges
Nov 11, 2005
1.463
0
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Supreme Ruler: Cold War
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Battle for Bosporus
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
for those who are interested heres my event chain:

#############################################
###### Choose a Germany #
#############################################
event = {
id = 10000000
random = no
country = GER

#To be triggered manually

name = "Choose which Germany to play as."
desc = "Gotta love the way to have a free mind in the free world of Germany."
style = 0


action_a = {
name = "Democratic route"
command = { type = country which = DFR }
command = { type = set_domestic which = democratic value = 10 }
command = { type = set_domestic which = political_left value = 2 }
command = { type = set_domestic which = freedom value = 10 }
command = { type = set_domestic which = free_market value = 8 }
command = { type = set_domestic which = professional_army value = 7 }
command = { type = set_domestic which = defense_lobby value = 3 }
command = { type = set_domestic which = interventionism value = 6 }
command = { type = leave_alliance }
command = { type = set_relation which = FRA value = 50 } #Germany seems more peaceful
command = { type = set_relation which = ENG value = 50 } #Germany really seems more peaceful without the Nazis
command = { type = trigger which = 10000001 }
command = { type = trigger which = 10000002 }
}
action_b = {
name = "Communist Route "
command = { type = country which = DDR }
command = { type = set_domestic which = democratic value = 1 }
command = { type = set_domestic which = political_left value = 10 }
command = { type = set_domestic which = freedom value = 1 }
command = { type = set_domestic which = free_market value = 1 }
command = { type = set_domestic which = professional_army value = 7 }
command = { type = set_domestic which = defense_lobby value = 3 }
command = { type = set_domestic which = interventionism value = 6 }
command = { type = set_relation which = SOV value = 100 } #A new communist ally in the future
command = { type = leave_alliance }
command = { type = trigger which = 10000001 }
command = { type = trigger which = 10000004 }
}
action_c = {
name = "staying National Socialist"
command = { type = dissent value = 25 } #People who are Anti National Socialist weird ain't it.
}
}

##########################
# Poland gains Prussia?
######################
event = {
id = 10000001

# Trigged by event 10000000

name = "The New Germany giving up on Prussia?"
desc = "The new Germany has met in the Reichstag to discuss weather or not it will give up Prussia to the Poles as

they generally dont have any say over it."
style = 0

action_a = {
name = "Germany gives up Prussia to Poland"
command = { type = secedeprovince which = POL value = 302 }
command = { type = secedeprovince which = POL value = 304 }
command = { type = secedeprovince which = POL value = 308 }
command = { type = secedeprovince which = POL value = 473 }
command = { type = secedeprovince which = POL value = 482 }
command = { type = secedeprovince which = POL value = 510 }
command = { type = dissent value = 5 } #Prussians for Germany and Germans who want a Greater Germany.
command = { type = relation which = POL value = 20 }
command = { type = trigger which = 10000003 }
}
action_b = {
name = "Eh, maybe we shouldn't"
command = { type = relation which = POL value = -10 }
}
}
#######################
# German Soldiers gains control of the riots in Brandenburg
###################
event = {
id = 10000002
random = no
country = DFR

# Trigger by event 10000000

action_a = {
name = "Germany regains total control of Brandenburg."
command = { type = addcore which = 296 }
command = { type = addcore which = 297 }
command = { type = addcore which = 298 }
command = { type = addcore which = 299 }
command = { type = addcore which = 300 } # We'll keep our capital here in Berlin
command = { type = addcore which = 301 }
command = { type = addcore which = 309 }
command = { type = addcore which = 310 }
command = { type = addcore which = 311 }
}
}
##############################
# Poland nationalizes its new territories givin by Germany
############################
event = {
id = 10000003
random = no
country = POL

name = "Poland Nationalizes the new Polish territories."
desc = "Time to nationalize our new territory for the Polish people."

action_a = {
name = "Time to proceed"
command = { type = addcore which = 302 }
command = { type = addcore which = 304 }
command = { type = addcore which = 308 }
command = { type = addcore which = 473 }
command = { type = addcore which = 482 }
command = { type = addcore which = 510 }
}
}
################################
# Communist gains control of Germany
##############################
event = {
id = 10000004
random = no
country = DDR

#Triggered by event 10000000

action_a = {
name = "Riots have been put down"
command = { type = addcore which = 80 }
command = { type = addcore which = 81 }
command = { type = addcore which = 82 }
command = { type = addcore which = 83 }
command = { type = addcore which = 84 }
command = { type = addcore which = 85 }
command = { type = addcore which = 86 }
command = { type = addcore which = 87 }
command = { type = addcore which = 88 }
command = { type = addcore which = 89 }
command = { type = addcore which = 90 }
command = { type = addcore which = 312 }
command = { type = addcore which = 313 }
command = { type = addcore which = 314 }
command = { type = addcore which = 315 }
command = { type = addcore which = 375 }
command = { type = addcore which = 376 }
command = { type = addcore which = 374 }
command = { type = addcore which = 76 }
command = { type = addcore which = 67 }
command = { type = addcore which = 75 }
command = { type = addcore which = 74 }
command = { type = addcore which = 66 }
}
}
i might come up with other things along the way. but its what i have so far.
 

blue emu

GroFAZ
Moderator
8 Badges
Mar 13, 2004
17.503
20.142
  • Crusader Kings II
  • Europa Universalis III
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis: Rome
  • 500k Club
  • Hearts of Iron II: Beta
GermanWehrmacht said:
ah ok just dont get it was targeting the line with action_b.
It almost always gives the error on the line FOLLOWING the actual mistake... because it's at THAT point that the compiler realizes that something is wrong.
 

GermanWehrmacht

Lt. General
59 Badges
Nov 11, 2005
1.463
0
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Supreme Ruler: Cold War
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Battle for Bosporus
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
blue emu said:
It almost always gives the error on the line FOLLOWING the actual mistake... because it's at THAT point that the compiler realizes that something is wrong.
so if it says that part is the error its actually the part before it is the real mistake?
 

GermanWehrmacht

Lt. General
59 Badges
Nov 11, 2005
1.463
0
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Supreme Ruler: Cold War
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings Complete
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Battle for Bosporus
  • Europa Universalis IV
  • 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
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
alright kinda something new ive learned lol. Any ideas on how i should progress this chain further? I mean you can get the FRG and DDR or stay as GER but than im sure nothing will happen afterwards (havent tested any further maybe i should.) I wonder if the Soviet Union would look at the Allies as aggressors and vice versa without an Axis alliance to pick on.