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

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
If the US selects option b for this event...

####################################################
# Mexican Expropriations
####################################################
event = {
id = 3182012
random = no
country = USA

# triggered by MEX 602012

name = "Mexican Expropriations"
desc = "In the second round of land reform, Cardenás expropriated the land held by foreign (mainly American) investors. This enraged conservative circles in the United States and added power to the oil industry lobbys proposal to invade Mexico. The Roosevelt administration, having had close ties with Cardenás, refused to consider this and instead only demanded compensation."
style = 0

action_a = {
name = "Ask for compensation"
ai_chance = 99
command = { type = energypool value = 500 }
}
action_b = {
name = "Prepare for War"
ai_chance = 1
command = { type = end_non_aggression which = USA where = MEX }
command = { type = relation which = MEX value -10 }
}
}

How would I write an event that would contain a news message? For example I would want the event to say something along the line of, "America announces military maneuvers on the border with Mexico." And then I would want a corresponding news event for Mexico saying, "Yankees, on the March!" That would fire only if the US chose option b in the above event.
 

Passivocalia

Major
Nov 24, 2005
537
0
Micah Goodman 2 said:
How would I write an event that would contain a news message? For example I would want the event to say something along the line of, "America announces military maneuvers on the border with Mexico." And then I would want a corresponding news event for Mexico saying, "Yankees, on the March!" That would fire only if the US chose option b in the above event.

I see that you know how to trigger new events, so I'm not sure what you're asking.

Do you want to trigger an event that does nothing, but only broadcasts that headline? Because right now the rest of the world will already see:

USA
went with
PREPARE FOR WAR
in
MEXICAN EXPROPRIATIONS​

If you want them to see more than that... if you want them to see a description of what's going on, then you'll need to make separate events for each nation involved. As a guide, look to the "Spanish Civil War - Intervention" events. Whenever Germany, Italy, the Soviets, England, or France choose to intervene, the USA gets an event informing them of it and souring relations between them.

If you don't want the event to do anything, just leave the command blank:
command = { }

Is any of this helping? :confused:
 

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
I need to know how to write the trigger if the American player chose option B in the above event. The trigger would activate the below message to the American player,

"As a result of Mexican seizure of American business assets American business’s and pressure from southern Democrats, President Roosevelt was forced to exert greater pressure on the Mexican government to rescind its seizure of foreign property. The President reluctantly agreed to ship the First and Third Infantry Divisions south to the border. The Mexican Government responds with fiery rhetoric and denounces Yankee Imperialism."

To close the event message the US player would click on a box with the message, 'We will not be Intimidated ."

The Mexican player would get the following text event,

“As a result of much needed economic reforms the Imperialist Yankee’s seek to intimidate us with military maneuvers.”

To close the event message the Mexican player would click on a box with the message, "Damn Yankees!"
 

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
This is what I have so far,

#########################################################################
# Military Maneuvers on the Border
#########################################################################
event = {
id = 3182200
random = no
# triggered by

name = "Military Maneuvers on the border."
desc = "As a result of Mexican seizure of American business assets American business’s and pressure from southern Democrats, President Roosevelt was forced to exert greater pressure on the Mexican government to rescind its seizure of foreign property. The President reluctantly agreed to send the First and Third Infantry Divisions south to the border. The Mexican Government responds with fiery rhetoric and denounces Yankee Imperialism."
style =

action_a = {
name = "Protect our Rights!"
command = { type =relation which = MEX value -10 }
}
}
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • 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
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
in first event option_b

have a 'command = { type = setflag which = news }'

and have in the trigger for your america event 'flag = news'

The event with the flag trigger will only trigger if option_b had been taken in the first event to set the flag to true.

Ayeshteni
 

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
So how does this look?

#########################################################################
# Mexican Expropriations
#########################################################################
event = {
id = 3182012
random = no
country = USA

# triggered by MEX 602012

name = "Mexican Expropriations"
desc = "In the second round of land reform, Cardenás expropriated the land held by foreign (mainly American) investors. This enraged conservative circles in the United States and added power to the oil industry lobbys proposal to invade Mexico. The Roosevelt administration, having had close ties with Cardenás, refused to consider this and instead only demanded compensation."
style = 0

action_a = {
name = "Ask for compensation"
ai_chance = 99
command = { type = energypool value = 500 }
}
action_b = {
name = "Return to Status Quo!"
ai_chance = 1
command = { type = end_non_aggression which = USA where = MEX }
command = { type = relation which = MEX value -10 }
command = { type = setflag which = MEX_USA_exprop_news }
}
}
#########################################################################
# Military Maneuvers on the Border
#########################################################################
event = {
id = 3182200
random = no
flag = MEX_USA_exprop_news

name = "Military Maneuvers on the border."
desc = "As a result of Mexican seizure of American business assets American business’s and pressure from southern Democrats, President Roosevelt was forced to exert greater pressure on the Mexican government to rescind its seizure of foreign property. The President reluctantly agreed to send the First and Third Infantry Divisions south to the border. The Mexican Government responds with fiery rhetoric and denounces Yankee Imperialism."
style =

action_a = {
name = "Protect our Rights!"
command = { type =relation which = MEX value -10 }
}
}
 

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
For the second event what should the style value be?
 

ulmont

Field Marshal
103 Badges
May 9, 2001
2.788
1
Visit site
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis III Complete
  • 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: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Nemesis
  • Europa Universalis III
  • 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
  • Deus Vult
  • Diplomacy
  • Hearts of Iron II: Armageddon
  • Europa Universalis III: Chronicles
  • Divine Wind
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
Micah Goodman 2 said:
So how does this look?
It looks pretty good to me. However, I would also clear the news flag so that you don't get any repeated event firing:
Code:
	action_a = {
		name = "Protect our Rights!"
		command = { type = clrflag which = MEX_USA_exprop_news}
		command = { type = relation which = MEX value -10 }
	}
 

Ayeshteni

Jehanne's Slave
111 Badges
Jul 31, 2002
6.280
108
  • 500k Club
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Penumbra - Black Plague
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Rome: Vae Victis
  • 200k Club
  • Heir to the Throne
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III
  • 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
  • Deus Vult
  • A Game of Dwarves
  • Divine Wind
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
################################################## #######################
# Military Maneuvers on the Border
################################################## #######################
event = {
id = 3182200
random = no
flag = MEX_USA_exprop_news

name = "Military Maneuvers on the border."
desc = "As a result of Mexican seizure of American business assets American business’s and pressure from southern Democrats, President Roosevelt was forced to exert greater pressure on the Mexican government to rescind its seizure of foreign property. The President reluctantly agreed to send the First and Third Infantry Divisions south to the border. The Mexican Government responds with fiery rhetoric and denounces Yankee Imperialism."
style =

action_a = {
name = "Protect our Rights!"
command = { type =relation which = MEX value -10 }
}
}

the flag has to be contained in a trigger IIRC. and as your second event is not triggered off another event it needs a date statement (some point after the other events). Also just make your style entry 0, so...

################################################## #######################
# Military Maneuvers on the Border
################################################## #######################
event = {
id = 3182200
random = no
trigger = { flag = MEX_USA_exprop_news }

date = { day = x month = x year = x }
offset = 1
deathdate = { day = x month = x year = x }

name = "Military Maneuvers on the border."
desc = "As a result of Mexican seizure of American business assets American business’s and pressure from southern Democrats, President Roosevelt was forced to exert greater pressure on the Mexican government to rescind its seizure of foreign property. The President reluctantly agreed to send the First and Third Infantry Divisions south to the border. The Mexican Government responds with fiery rhetoric and denounces Yankee Imperialism."
style = 0

action_a = {
name = "Protect our Rights!"
command = { type =relation which = MEX value -10 }
}
}

Ayeshteni