• 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(24101)

Sergeant
Dec 29, 2003
76
0
Is there a way to make a series of random outcomes to an event? I mean, can you have it so that if an event fires, it can randomly trigger another event to fire in the future (which in turn sleeps the other possible events)? My attempts to implement it so far have been less than successful and I'd like to know if it's doable or if I'm wasting my time.
 

e-stab

Citizen
104 Badges
Mar 14, 2002
4.717
98
  • Victoria 2: A House Divided
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Iron Cross
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Hearts of Iron III
  • Rome: Vae Victis
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • 200k Club
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris: Nemesis
  • Deus Vult
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • 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
  • Hearts of Iron Anthology
  • Diplomacy
  • East India Company Collection
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
It's a bit messy, but I think you can do it: You could use an invisible AI_EVENT for a country that is very rarely played or annexed. Then you can define the ai_chance for different options, that's where your random factor comes into play. Each of the options should trigger a different invisible event, and then you can set up events to trigger when these special events have been triggered. Are you still with me? :)
You could probably do it even easier with flags, but I'm not familiar with them.