newt I forgot to say that I need these events to occur in random time. I have a timeline and I need, for example, "You have won 1 billion dollars" to occur from 2030 to 2050 year. Thanks))
I think to make it easier for yourself you should set the random Year beforehand so you know when it should happen so you can keep looking forwards to that year
Example:
For the "You have won 1 billion dollars"
Create a variable or store them in a dictionary if you have many events like these
Create Variable >>>> "Won_1_billion"
On Start of layout >>>>> set "Won_1_billion" = Floor(Random(2030, 2051))
Then each year that passes compare
Current_Year => "Won_1_billion" >>>>>> Run the "You have won 1 billion dollars" Event
The same for the other events