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

Wave

Rocker moth
61 Badges
Sep 12, 2009
946
34
  • Crusader Kings II
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Europa Universalis: Rome
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Colonel
  • Crusader Kings III
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • BATTLETECH
  • Steel Division: Normand 44 Sign-up
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Imperator: Rome Sign Up
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Stellaris: Galaxy Edition
Helloes once again!

I've been fiddling with the mean_time_to_happen = { part in the events for a couple of days now and it seems that it doesn't count anywhere near the wanted amount of days, months or years. So far only thing that works at all as wanted is mean_time_to_happen = { days = 1 } which has a range of 1 day to 1 month of waiting before triggering, usually only a couple of days.

I tried 150 days and 6 months to get an event triggering every half a year or so but it seems that it triggers randomly between half a year and five years, which them makes it useless for me. Same goes with an event which had mean_time_to_happen = { years = 1}, though I haven't seen it trigger more than once yet and it was approximately 5-6 years too late as well..

So has anyone found a way to create more accurate timers which wouldn't work with opening events regularly to keep the game in track of days?
 
Try having the event adding a modifier lasting as long as you want to wait until it is time for it again and make sure the trigger includes not having that modifier active (look at the way the 'adapt or perish' or whatever it is called (the one that can increase civ-level for tribes) event works).
 
That's actually a very good idea, thanks!

modifiers work like swiss clocks so then the event would fire only a bit later than supposed if event time works as usually but in that small scale it is ignorable.
 
"Mean" is a mathematical term for "average", so the MTTH is just defining the average time for the event to trigger. That is, there is about a 50% chance that the event will trigger before the defined MTTH, but it could trigger well afterwards.

If you want to set a timer, do what Lofman said. If you want the timer to count down after an event, have it set a country flag and country modifier. That way, once the countdown modifier expires, then you can have your following event trigger with the existence of that country flag, but the non-existence of the modifier.

Also, if you want to trigger an event after exactly one day, you could use a title hack. Titles are triggered one day after their conditions are met, and can be used to manually call events, so you can have a title that triggers exactly when you need it, call an event, and then automatically expires one day later. And the player doesn't event have to know, especially if you can make the title icon invisible...
 
"Mean" is a mathematical term for "average", so the MTTH is just defining the average time for the event to trigger. That is, there is about a 50% chance that the event will trigger before the defined MTTH, but it could trigger well afterwards..

Well now it makes a lot more sense...

I just need to have several timers running simultaneously so It'll mean a lot of modifier icons but I won't take it as a problem yet.