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

Mexbuild

Major
55 Badges
Apr 25, 2006
757
79
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • 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
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Art of War
  • 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 Complete
  • Europa Universalis IV
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Okay, in the last events I used this trigger within the commands. But now, every country - even Sweden or Norway participate in the voting, despite they are not member. I will try it with regular trigger... But before the all = yes?

Thank you again for your reliabale support!
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
Okay, in the last events I used this trigger within the commands. But now, every country - even Sweden or Norway participate in the voting, despite they are not member. I will try it with regular trigger... But before the all = yes?

Thank you again for your reliabale support!
This is what worked for me:
Code:
event = {
   id = 99990923
    tag = { GER FRA HOL BEL LUX DEN SWE NOR }
    random = no
    all = yes
   persistent = yes
   
    trigger = { local_flag = Member_EL }
If this doesn't work for you then I'm afraid I'm out of ideas. :(
 

Mexbuild

Major
55 Badges
Apr 25, 2006
757
79
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • 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
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Art of War
  • 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 Complete
  • Europa Universalis IV
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
Hmm, I have built in the trigger but not the second event fires for no one.

Code:
#########################################################################
#  EL Membership of Latvia
#########################################################################

event = {
    id = 99990924
   
    tag = { GER FRA HOL BEL LUX DEN SWE NOR CZE AUS }
    trigger = { local_flag = EL_Member }
    all = yes
    persistent = yes
   
    name = "EL Membership of Latvia"
    desc = "Faced by recent Soviet expansion in Eastern Europe, the government of Latvia seeks the membership in our alliance."
    style = 2
    picture = "EGTreaty"
    decision_picture = "decision_EGTreaty"
   
    action = {
        name = "Accept their membership!"
        ai_chance = 90
        trigger = { local_flag = Member_EL }
        command = { type = setflag which = VOTE_LAT when = 1 value = 1 }
        command = { type = relation which = LAT value = 50 }
        command = { type = relation which = SOV value = -50 }
    }
    action = {
        name = "Decline their membership!"
        trigger = { local_flag = Member_EL }
        ai_chance = 10
        command = { type = setflag which = VOTE_LAT when = 1 value = -1 }
        command = { type = relation which = LAT value = 50 }
        command = { type = relation which = SOV value = -50 }
    }
}
 

^_AC_^

Field Marshal
84 Badges
Feb 24, 2009
5.695
327
  • Victoria 2: A House Divided
  • Sengoku
  • Semper Fi
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Victoria 2: Heart of Darkness
  • War of the Roses
  • Hearts of Iron IV Sign-up
  • Europa Universalis III Complete
  • The Showdown Effect
  • Warlock 2: The Exiled
  • Crusader Kings II: Conclave
  • 500k Club
  • Stellaris
  • Europa Universalis IV: El Dorado
  • Prison Architect
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Stellaris: Ancient Relics
  • Knights of Pen and Paper 2
  • Europa Universalis IV: Cossacks
  • Hearts of Iron IV: Cadet
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris Sign-up
  • Europa Universalis IV: Golden Century
  • Stellaris: Synthetic Dawn
  • Imperator: Rome
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
Hmm, I have built in the trigger but not the second event fires for no one.

Code:
#########################################################################
#  EL Membership of Latvia
#########################################################################

event = {
    id = 99990924
  
    tag = { GER FRA HOL BEL LUX DEN SWE NOR CZE AUS }
    trigger = { local_flag = EL_Member }
    all = yes
    persistent = yes
  
    name = "EL Membership of Latvia"
    desc = "Faced by recent Soviet expansion in Eastern Europe, the government of Latvia seeks the membership in our alliance."
    style = 2
    picture = "EGTreaty"
    decision_picture = "decision_EGTreaty"
  
    action = {
        name = "Accept their membership!"
        ai_chance = 90
        trigger = { local_flag = Member_EL }
        command = { type = setflag which = VOTE_LAT when = 1 value = 1 }
        command = { type = relation which = LAT value = 50 }
        command = { type = relation which = SOV value = -50 }
    }
    action = {
        name = "Decline their membership!"
        trigger = { local_flag = Member_EL }
        ai_chance = 10
        command = { type = setflag which = VOTE_LAT when = 1 value = -1 }
        command = { type = relation which = LAT value = 50 }
        command = { type = relation which = SOV value = -50 }
    }
}
How do you trigger event 99990924?
 

Mexbuild

Major
55 Badges
Apr 25, 2006
757
79
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • 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
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Art of War
  • 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 Complete
  • Europa Universalis IV
  • Arsenal of Democracy
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
By console. Just because in the game it will be triggered by SOV.

I finally found the problem... In the previos events, each member get a local Member_EL flag and in the last event I wrote EL_Member. Excuse me for my foolishness. :confused:
 
Last edited:

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Hi everybody, I have another question for you!

First of all let me present you the header of the event concerned:

Code:
event = {
    id = 11007
    random = no
    country = ENG

        trigger = {
        flag = CAN_no_IP
        OR = {
        flag = AST_no_IP
        }
        OR = {
        flag = SAF_no_IP
        }
        OR = {
        flag = IRE_no_IP
        }
        }

    name = "The Dominions decline Imperial Preference"
    desc = "EVT_11007_DESC"
    style = 2
      picture = "imperial_preference"
    date = { day = 13 month = may year = 1937 }
    offset = 6
    deathdate = { day = 29 month = december year = 1939 }

    action = {
        name = "Dammit!"

What I want to do is: if any of these flags are activated (not necessarily all, it can be either one, two, three or four of them) then the event should fire.
Obviously, it is not working and I don't know what to do. Complex triggers are new to me and I'm eager to learn, so if anyone could help me a little, it would be appreciated.

Thanks in advance!

Best regards
TheRem
 

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
trigger = {
OR = {
flag = CAN_no_IP
flag = AST_no_IP
flag = SAF_no_IP
flag = IRE_no_IP​
}​
}
It works perfectly thank you!

Another question:
I want a same event to happen to multiple TAGs but when I'm using this...
Code:
event = {
    id = 11001
    random = no
    TAG =  { CAN AST SAF IRE BUR U87 PAK IND }

    name = "1937 Imperial Conference"
    desc = "EVT_11000_DESC"
    style = 2
      picture = "imperial_conference"

    date = { day = 13 month = may year = 1937 }

    action = {
        name = "Shall we begin?"
        command = { type = dissent value = -0.1 }
    }
}
... It only fires for a random TAG among the list.
Any idea of what's wrong?
 

Eginhard 38

Captain
18 Badges
Sep 13, 2010
477
155
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Stellaris: Synthetic Dawn
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Megacorp
  • Stellaris: Distant Stars
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Mount & Blade: Warband
  • 500k Club
  • Crusader Kings II
About your second event, I suppose it is triggered through a command in another event, as it lacks a trigger section. If yes, I suggest you duplicate the said command for each country, like this :

Code:
command = { type = event which = 11001 where = CAN }
command = { type = event which = 11001 where = AST }
command = { type = event which = 11001 where = SAF }
command = { type = event which = 11001 where = IRE }
command = { type = event which = 11001 where = BUR }
command = { type = event which = 11001 where = U87 }
command = { type = event which = 11001 where = PAK }
command = { type = event which = 11001 where = IND }

EDIT : Mexbuild proved to be both faster and wiser. :)
 

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Add all = yes after random.

Not sure to understand...

Like this:
Code:
event = {
   id = 11001
    random = all = yes
    TAG =  { CAN AST SAF IRE BUR U87 PAK IND }

    name = "1937 Imperial Conference"
    desc = "EVT_11000_DESC"
    style = 2
      picture = "imperial_conference"

    date = { day = 13 month = may year = 1937 }

    action = {
        name = "Shall we begin?"
        command = { type = dissent value = -0.1 }
    }
}

Or like this:
Code:
event = {
   id = 11001
    random = no
    all = yes
    TAG =  { CAN AST SAF IRE BUR U87 PAK IND }

    name = "1937 Imperial Conference"
    desc = "EVT_11000_DESC"
    style = 2
      picture = "imperial_conference"

    date = { day = 13 month = may year = 1937 }

    action = {
        name = "Shall we begin?"
        command = { type = dissent value = -0.1 }
    }
}
 

TheRemQc

French Canadian Imperialist
45 Badges
Aug 3, 2014
571
188
  • Europa Universalis IV: Res Publica
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Steel Division: Normandy 44
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: La Resistance
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne

Aniknk

Major
98 Badges
Feb 25, 2012
614
11
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Megacorp
  • Tyranny - Tales from the Tiers
  • Crusader Kings II: Jade Dragon
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines - Green Cities
  • Tyranny - Bastards Wound
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Natural Disasters
  • Age of Wonders: Planetfall Season pass
  • Victoria 3 Sign Up
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Age of Wonders: Planetfall - Revelations
  • Stellaris: Lithoids
  • Europa Universalis IV: Dharma
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV
  • Magicka
  • Victoria 2
  • Cities: Skylines
I have a new problem. My event:

event = {
id = 135460
random = no
trigger = {
NOT = {
atwar = yes

}

date = { day = 6 month = january year = 1936 }
name = "1936 Winter Olympics"
desc = "It's time for a great festival of sport! Winter Olympics starting in Garmisch-Partenkirchen today!"
style = 0


action_a = {
name = "Hail to Heroes of our Nation"
ai_chance = 50
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action_b = {
name = "Not at this time"
ai_chance = 50
command = { type = dissent value = 3 }
}

}

Won't trigger, as it work as I check it with consol.

Also, savedebug say: ERROR : Unknown trigger type [date] in Mods\Battle Cry of Old Empires\db\events\Olimpic_Games.txt, line 13!
 

mccarty.geoff

Major
On Probation
Jul 11, 2017
641
4
You should need a country tag and offset+deathdate for most time triggered events.

event = {
id = 135460
tag = { AST AUS BEL BUL CAN CZE ENG EST FIN FRA GER GRE HOL HUN ITA JAP LAT LUX NOR POL ROM SPR SWE SCH TUR USA YUG }
trigger = { atwar = no }
date = { day = 6 month = february year = 1936 }
offset = 2
deathdate = { day = 16 month = february year = 1936 }
name = "1936 Winter Olympics"
desc = "It's time for a great festival of sport! Winter Olympics starting in Garmisch-Partenkirchen today!"
action_a = {
name = Participate
ai_chance = 99
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action_b = {
name = Withdraw
ai_chance = 1
command = { type = dissent value = 3 }
}
}
 
Last edited:

Arcangelus

Major
9 Badges
Apr 8, 2012
753
36
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Victoria 3 Sign Up
That's only true if you don't want your event to trigger on a specific date.
The more likely problem is that, because it lacks a "persistent = yes" section, it triggers for a single nation (if I had to guess and there are no wars, AFG)
 

Aniknk

Major
98 Badges
Feb 25, 2012
614
11
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Megacorp
  • Tyranny - Tales from the Tiers
  • Crusader Kings II: Jade Dragon
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Cities: Skylines - Green Cities
  • Tyranny - Bastards Wound
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Natural Disasters
  • Age of Wonders: Planetfall Season pass
  • Victoria 3 Sign Up
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Stellaris: Federations
  • Age of Wonders: Planetfall - Revelations
  • Stellaris: Lithoids
  • Europa Universalis IV: Dharma
  • Age of Wonders: Planetfall
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Imperator: Rome Deluxe Edition
  • Europa Universalis IV: Golden Century
  • Crusader Kings II: Holy Fury
  • Cities: Skylines Industries
  • Shadowrun: Hong Kong
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV
  • Magicka
  • Victoria 2
  • Cities: Skylines
OK, thank you guys, but I still don't know how should this event look like to work. It should be specifed for every country with it's ID? Because I've write some event befor, and it fire with date 01.01.1936. It look like this:

event = {
id = 135400
picture = ""
style = 1

trigger = { ai = no }

date = { day = 1 month = january year = 1936 }
name = "Welcome to your cabinet"
desc = "From now on you will manage the country you have choosed. In our timeframe is located a few big players with whom you have to be reckoned with. I talking about the Tripple Aliance between Russia, Austria, and Prussia, supported by the forces of South German kingdoms, an alliance of Commonwealth with the Republic of France. Watch out! Here comes the darkest hour in which Empires will raise the battle cry!"

action_a = {
name = "You can rest now"
command = { type = trigger which = 100000 }
}
}

And it work...