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

unmerged(444403)

First Lieutenant
3 Badges
Feb 4, 2012
200
0
  • Crusader Kings II
  • Darkest Hour
  • Pillars of Eternity
Im trying to create my first event and i cant quite understand how to trigger events based on the date, im sure this is really simple but i keep getting it wrong.

Is this the correct way if i want the event to trigger during the first 5 days of the year 1956:

event = {
id = 8005011
random = no
country = ENG

name = EVT_8005011_NAME
desc = EVT_8005011_DESC
picture = "0946"
style = 0

trigger = {
atwar = no
}

date = { day = 5 month = jan year = 1956}
offset = 7
deathdate = { day = 5 month = jan year = 1956 }
 

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
Nop. Date and deathdate are the same ones, so is probably that will crash. Try:
Code:
 date = { day = 1 month = jan year = 1956}
offset = 1
deathdate = { day = 5 month = jan year = 1956 }