It depends on what you want to do. Do you want for all nations to have a specific event a a given date? Then, it would look like this:
If you want the event to trigger for a specific country (let's say Germany) at a given date, then it would look like this:
If you want the event to only trigger for the human player, then you add a "ai = no" into the trigger (like your event 135400)
If you want the event to trigger for a specific set of countries (for instance, Argentina and Germany) on a given date, then it would look like this:
If you want all nations with one or more exceptions (let's say, no Germany nor Afghanistan) to get it, then you can try this: (this is useful when you only want to exclude a few, as is shorter and faster than the TAG method)
Another way to get the event to trigger for all nations would be:
All of the previous events will happen on January 7th, 1936.
Code:
event = {
id = 135460
persistent = yes
trigger = { atwar = no }
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!"
action = {
name = "Hail to Heroes of our Nation"
ai_chance = 50
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action = {
name = "Not at this time"
ai_chance = 50
command = { type = dissent value = 3 }
}
}
Code:
event = {
id = 135460
country = GER
trigger = { atwar = no }
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!"
action = {
name = "Hail to Heroes of our Nation"
ai_chance = 50
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action = {
name = "Not at this time"
ai_chance = 50
command = { type = dissent value = 3 }
}
}
If you want the event to trigger for a specific set of countries (for instance, Argentina and Germany) on a given date, then it would look like this:
Code:
event = {
id = 135460
TAG = { ARG GER }
persistent = yes
trigger = { atwar = no }
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 = {
name = "Hail to Heroes of our Nation"
ai_chance = 50
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action = {
name = "Not at this time"
ai_chance = 50
command = { type = dissent value = 3 }
}
}
Code:
event = {
id = 135460
persistent = yes
trigger = { atwar = no NOT = { country = GER country = AFG } }
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 = {
name = "Hail to Heroes of our Nation"
ai_chance = 50
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action = {
name = "Not at this time"
ai_chance = 50
command = { type = dissent value = 3 }
}
}
Code:
event = {
id = 135460
all = yes
persistent = yes
trigger = { atwar = no }
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 = {
name = "Hail to Heroes of our Nation"
ai_chance = 50
command = { type = dissent value = -1 }
command = { type = trigger which = 135461 }
}
action = {
name = "Not at this time"
ai_chance = 50
command = { type = dissent value = 3 }
}
}
All of the previous events will happen on January 7th, 1936.