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

Daelyn75

Field Marshal
87 Badges
Jun 10, 2003
3.148
803
www.youtube.com
  • Europa Universalis IV: Mare Nostrum
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Res Publica
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • 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
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
I have edited them and re-edited them many times, the game loads plays as normal but the events just refuse to fire for the USA. Anyone see why its not firing?

#########################################################################
# Industrial Production Increased 1943 Part one
#########################################################################
event = {
id = 3889
random = no
country = USA

trigger = {
war = { country = USA country = GER }
war = { country = USA country = JAP }
OR = {
war = { country = USA country = SOV }
}
}

name = "Industrial Production Increased for the new Year"
desc = "More spending, new factories, and more existing factories totally focused on the war effort, everyones doing their part!"
picture = "factory"
style = 0

date = { day = 1 month = january year = 1943 }
offset = 1 # Check for this every day
deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "The American Eagle's wings have unfurled!"
command = { type = construct which = ic where = 602 value = 8 }
command = { type = metalpool value = 20 where = 602 }
command = { type = energypool value = 20 where = 602 }
command = { type = rarematerialspool value = 10 where = 602 }
command = { type = construct which = ic where = 762 value = 5 }
command = { type = metalpool value = 20 where = 762 }
command = { type = energypool value = 20 where = 762 }
command = { type = rarematerialspool value = 10 where = 762 }
command = { type = construct which = ic where = 765 value = 3 }
command = { type = metalpool value = 20 where = 765 }
command = { type = energypool value = 20 where = 765 }
command = { type = rarematerialspool value = 10 where = 765 }
command = { type = construct which = ic where = 600 value = 4 }
command = { type = metalpool value = 20 where = 600 }
command = { type = energypool value = 20 where = 600 }
command = { type = rarematerialspool value = 10 where = 600 }
command = { type = construct which = ic where = 620 value = 7 }
command = { type = metalpool value = 20 where = 620 }
command = { type = energypool value = 20 where = 620 }
command = { type = rarematerialspool value = 10 where = 620 }
command = { type = construct which = ic where = 616 value = 6 }
command = { type = metalpool value = 20 where = 616 }
command = { type = energypool value = 20 where = 616 }
command = { type = rarematerialspool value = 10 where = 616 }
command = { type = construct which = ic where = 606 value = 4 }
command = { type = metalpool value = 20 where = 606 }
command = { type = energypool value = 20 where = 606 }
command = { type = rarematerialspool value = 10 where = 606 }
command = { type = construct which = ic where = 608 value = 5 }
command = { type = metalpool value = 20 where = 608 }
command = { type = energypool value = 20 where = 608 }
command = { type = rarematerialspool value = 10 where = 608 }
command = { type = construct which = ic where = 780 value = 3 }
command = { type = metalpool value = 20 where = 780 }
command = { type = energypool value = 20 where = 780 }
command = { type = rarematerialspool value = 10 where = 780 }
command = { type = construct which = ic where = 603 value = 5 }
command = { type = metalpool value = 20 where = 603 }
command = { type = energypool value = 20 where = 603 }
command = { type = rarematerialspool value = 10 where = 603 }
command = { type = industrial_modifier which = total value = 15 }
}
}


#########################################################################
# Industrial Production Increased 1944 Part two
#########################################################################
event = {
id = 3890
random = no
country = USA

trigger = {
war = { country = USA country = GER }
war = { country = USA country = JAP }
OR = {
war = { country = USA country = SOV }
}
}

name = "Industrial Production Increased for the new Year"
desc = "The Sleeping Giant has awakened"
picture = "factory"
style = 0

date = { day = 1 month = january year = 1944 }
offset = 1 # Check for this every day
deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "Buy warbonds!"
command = { type = construct which = ic where = 602 value = 8 }
command = { type = metalpool value = 20 where = 602 }
command = { type = energypool value = 20 where = 602 }
command = { type = rarematerialspool value = 10 where = 602 }
command = { type = construct which = ic where = 762 value = 5 }
command = { type = metalpool value = 20 where = 762 }
command = { type = energypool value = 20 where = 762 }
command = { type = rarematerialspool value = 10 where = 762 }
command = { type = construct which = ic where = 765 value = 3 }
command = { type = metalpool value = 20 where = 765 }
command = { type = energypool value = 20 where = 765 }
command = { type = rarematerialspool value = 10 where = 765 }
command = { type = construct which = ic where = 600 value = 4 }
command = { type = metalpool value = 20 where = 600 }
command = { type = energypool value = 20 where = 600 }
command = { type = rarematerialspool value = 10 where = 600 }
command = { type = construct which = ic where = 620 value = 7 }
command = { type = metalpool value = 20 where = 620 }
command = { type = energypool value = 20 where = 620 }
command = { type = rarematerialspool value = 10 where = 620 }
command = { type = construct which = ic where = 616 value = 6 }
command = { type = metalpool value = 20 where = 616 }
command = { type = energypool value = 20 where = 616 }
command = { type = rarematerialspool value = 10 where = 616 }
command = { type = construct which = ic where = 606 value = 4 }
command = { type = metalpool value = 20 where = 606 }
command = { type = energypool value = 20 where = 606 }
command = { type = rarematerialspool value = 10 where = 606 }
command = { type = construct which = ic where = 608 value = 5 }
command = { type = metalpool value = 20 where = 608 }
command = { type = energypool value = 20 where = 608 }
command = { type = rarematerialspool value = 10 where = 608 }
command = { type = construct which = ic where = 780 value = 3 }
command = { type = metalpool value = 20 where = 780 }
command = { type = energypool value = 20 where = 780 }
command = { type = rarematerialspool value = 10 where = 780 }
command = { type = construct which = ic where = 603 value = 5 }
command = { type = metalpool value = 20 where = 603 }
command = { type = energypool value = 20 where = 603 }
command = { type = rarematerialspool value = 10 where = 603 }
command = { type = industrial_modifier which = total value = 25 }
}
}
 

wilcoxchar

Field Marshal
98 Badges
Nov 15, 2004
5.134
17.812
  • Europa Universalis III: Collection
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis: Rome Collectors Edition
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Victoria 3 Sign Up
  • Divine Wind
  • 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
  • Deus Vult
  • Diplomacy
  • Europa Universalis III
  • Hearts of Iron Anthology
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
They won't fire because you aren't at war with the Soviets. Since you only have one condition in your OR statement, the event considers that the only option for that statement and will thus only fire if the US is at war with the USSR.
 

Micah Goodman 2

Colonel
98 Badges
Dec 28, 2003
930
263
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Cities: Skylines
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Wealth of Nations
  • 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 IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
Out of curosity should the Soviet portion of the trigger be AND, OR?
 

Daelyn75

Field Marshal
87 Badges
Jun 10, 2003
3.148
803
www.youtube.com
  • Europa Universalis IV: Mare Nostrum
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Res Publica
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • 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
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
Hmm, makes sense as it doesn't fire that the challenge is in the trigger. But logically I cannot understand this. Trigger means war with Japan/German, big slash / Or just at war with the Soviets as per my thinking. So war should be or with all then I take it.
 

xtfoster

Field Marshal
57 Badges
Feb 8, 2006
5.874
2.209
  • Shadowrun Returns
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • BATTLETECH
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Deus Vult
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • 500k Club
  • Hearts of Iron II: Beta
  • Stellaris
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
Daelyn75 said:
Hmm, makes sense as it doesn't fire that the challenge is in the trigger. But logically I cannot understand this. Trigger means war with Japan/German, big slash / Or just at war with the Soviets as per my thinking. So war should be or with all then I take it.
The default condition is AND, so...
The trigger means
The USA must be at war with Germany
AND
The USA must be at war with Japan
AND
One of the following must be true
The USA must be at war with the USSR


Since there is only one condition in the OR, it has no effect.

EDIT:
If you wanted it to be at war with Germany AND Japan OR at war with the USSR you should have
Code:
trigger = {
	OR = {
		AND = {
			war = { country = USA country = GER }
			war = { country = USA country = JAP }
			}
		war = { country = USA country = SOV }
		}
}

EDIT2: Oops, forgot the OR
 

Micah Goodman 2

Colonel
98 Badges
Dec 28, 2003
930
263
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Cities: Skylines
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Wealth of Nations
  • 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 IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
In a rleated question, if I want the trigger for this event to be that it fires if the Japanese ocupy all of the proviences listed in the first part of the trigger or if the Japanese occupy Guadalcanal, do I have the brackets done correctly...

############################################
### Americal Division Formed
### By Micah Goodman
############################################
event = {
id = 3182731
random = no
country = USA

trigger = {
OR = {
AND = {
war = { country = JAP country = USA }
control = { province = 1672 data = JAP } # Lae
control = { province = 1671 data = JAP } # Gasmata
control = { province = 1670 data = JAP } # Rabaul
control = { province = 1669 data = JAP } # New Ireland
}
AND = {
war = { country = JAP country = USA }
control = { province = 1685 data = JAP } # Guadalcanal
}
}

style = 0
picture = "american_reinforcments8"

date = { day = 10 month = may year = 1942 }

name = "The Americal Division"
desc = "As the US Army reorganized from four regiment divisions to three regiment divisions, several regiments became ‘orphaned’ or without a parent division. Many of these regiments were sent overseas individually. To slow the Japanese juggernaut in the Pacific several were sent to the South East Pacific. In May 1942 three of these regiments were formed into the ‘Americal’ Division. Under Major General Patch the division would soon be sent to Guadalcanal to assist the Marines."

action_a = {
name = "Form the Division"
ai_chance = 100
command = { type = activate_division which = 14800 value = 708 where = 1692 when = 0 } # Americal Division Activated
command = { type = manpowerpool value = -20 }
command = { type = supplies value = -1000 }
}

action_b = {
name = "Keep the Regiments Seperate"
command = { type = manpowerpool value = 20 }
command = { type = supplies value = 1000 }
}
}
 

Daelyn75

Field Marshal
87 Badges
Jun 10, 2003
3.148
803
www.youtube.com
  • Europa Universalis IV: Mare Nostrum
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Res Publica
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Nemesis
  • Divine Wind
  • Hearts of Iron II: Armageddon
  • 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
  • Arsenal of Democracy
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
Yes it worked, thankyou very much! I was also able to get several others working as well that didn't work before because I misunderstood how OR works.
 

xtfoster

Field Marshal
57 Badges
Feb 8, 2006
5.874
2.209
  • Shadowrun Returns
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • BATTLETECH
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Deus Vult
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • 500k Club
  • Hearts of Iron II: Beta
  • Stellaris
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
Micah Goodman 2 said:
In a rleated question, if I want the trigger for this event to be that it fires if the Japanese ocupy all of the proviences listed in the first part of the trigger or if the Japanese occupy Guadalcanal, do I have the brackets done correctly...
Code:
	trigger = {
		OR = {
		   AND = {
			war = { country = JAP country = USA }
			control = { province = 1672 data = JAP } # Lae
			control = { province = 1671 data = JAP } # Gasmata
			control = { province = 1670 data = JAP } # Rabaul
			control = { province = 1669 data = JAP } # New Ireland
		}
		   AND = {
			war = { country = JAP country = USA }
			control = { province = 1685 data = JAP } # Guadalcanal
	}
}
You need one more bracket to close the OR statement...so
Code:
	trigger = {
		OR = {
		   AND = {
			war = { country = JAP country = USA }
			control = { province = 1672 data = JAP } # Lae
			control = { province = 1671 data = JAP } # Gasmata
			control = { province = 1670 data = JAP } # Rabaul
			control = { province = 1669 data = JAP } # New Ireland
		}
		   AND = {
			war = { country = JAP country = USA }
			control = { province = 1685 data = JAP } # Guadalcanal
                }
	}
}
also, since both include
Code:
war = { country = JAP country = USA }
you could move it before the OR statement and get away with only the one.
 

Micah Goodman 2

Colonel
98 Badges
Dec 28, 2003
930
263
  • Stellaris: Galaxy Edition
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Cities: Skylines
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Wealth of Nations
  • 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 IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
Great thanks.