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

SAS

20+ Years on the Forum
Moderator
204 Badges
Jan 13, 2002
8.299
705
  • 200k Club
  • 500k Club
  • Paradox Order
  • Europa Universalis: Rome Collectors Edition
  • Imperator: Rome Deluxe Edition
  • March of the Eagles
This is in a file call "sas" in the event folder. Can't get it to fire. I can manually fire it and the modifier works. Any ideas?

namespace = sas

#The Black Death

sas.1 = {
type = country_event
title = "sas.1.t"
desc = "sas.1.d"
picture = natural_disaster


trigger = {
current_date > 451.2.1
NOT = { has_variable = black_death_cooldown }
}

immediate = {
set_variable = {
name = black_death_cooldown
days = 3650
}
}

option = {
name = "sas.1.a"
add_country_modifier = {
name = black_death_modifier
duration = 730
}
}
}
 
would I need that when the trigging conditions are in the event?

EDIT: That did it, THANKS!!!
 
Last edited:
  • 1Like
Reactions:
The way I understand it: yes. The trigger is just there to check that at the moment of firing the proper conditions are met.

An event needs to be triggered by something, be it another event, a mission, an action, or an on_action.
 
  • 2
Reactions: