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

trekaddict

British Unionist
60 Badges
Jul 1, 2007
9.120
256
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun: Dragonfall
  • Surviving Mars: First Colony Edition
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Nemesis
  • 500k Club
  • Arsenal of Democracy
  • Darkest Hour
  • 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
  • Hearts of Iron III
  • Lead and Gold
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 200k Club
  • Hearts of Iron Anthology
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
The event fires even when said country doesn't even exist. For example it just fired for me when I had just annexed Manchuria as Nat.China.
 
Upvote 0
True. The event should look like THIS instead:

####################################################################
# Japan Pressures Germany over Manchukuo
####################################################################

event = {
id = 3835
random = no
country = JAP

trigger = {
exists = CHI
exists = GER
exists = MAN
OR = {
war = { country = JAP country = CHI }
alliance = { country = GER country = JAP }
event = 21
}
NOT = {
alliance = { country = GER country = CHI }
alliance = { country = GER country = CYN }
alliance = { country = GER country = CSX }
alliance = { country = GER country = CXB }
alliance = { country = GER country = SIK }
war = { country = GER country = JAP }
}
}

name = "EVT_3835_NAME"
desc = "EVT_3835_DESC"
style = 0

date = { day = 0 month = february year = 1938 }
offset = 14
deathdate = { day = 29 month = august year = 1939 }

action_a = {
name = "EVT_3835_ACTA"
command = { type = trigger which = 2035 } #GER response
command = { type = money value = -50 } #Expenditure
command = { type = relation which = MAN value = 20 }
command = { type = relation which = GER value = -10 }
}

action_b = {
name = "EVT_3835_ACTB"
command = { type = dissent value = 1 }
command = { type = relation which = MAN value = -10 }
command = { type = relation which = CHI value = 5 }
}

}

Just added "exists = MAN".
 
True. The event should look like THIS instead:

Code:
####################################################################
#  Japan Pressures Germany over Manchukuo
####################################################################

event = { 
	id = 3835
	random = no
	country = JAP

	trigger = {
		exists = CHI
		exists = GER
                [COLOR="Red"]exists = MAN[/COLOR]
		OR = {
			war = { country = JAP country = CHI }
			alliance = { country = GER country = JAP }
			event = 21
			}
		NOT = {
			alliance = { country = GER country = CHI }
			alliance = { country = GER country = CYN }
			alliance = { country = GER country = CSX }
			alliance = { country = GER country = CXB }
			alliance = { country = GER country = SIK }
			war = { country = GER country = JAP }
			}
		}

	name = "EVT_3835_NAME" 
	desc = "EVT_3835_DESC"
	style = 0

	date = { day = 0 month = february year = 1938 }
	offset = 14
	deathdate = { day = 29 month = august year = 1939 }

	action_a = {
		name = "EVT_3835_ACTA"
		command = { type = trigger which = 2035 } #GER response
		command = { type = money value = -50 } #Expenditure
		command = { type = relation which = MAN value = 20 }
		command = { type = relation which = GER value = -10 }
		}

	action_b = {
		name = "EVT_3835_ACTB"
		command = { type = dissent value = 1 }
		command = { type = relation which = MAN value = -10 }
		command = { type = relation which = CHI value = 5 }
		}

	}

Just added "exists = MAN".