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

Eraclio

Major
1 Badges
Nov 26, 2006
615
2
  • For The Glory
I would like to know if there is a way (or if there will be) to run in the game a random event with relative triggers immediately without call with f12.

My goal is, for example, to increase manpower each times that E Roman Empire conquest some provinces. :)
 
How are they random if the happen immediately?

What's wrong with something like this:

Code:
event = {
	id = x
	trigger = { owned   = { province = 100 data = ERE } 

	}
	random = no
	country = ERE #Eastern Roman Empire
	name = "Manpower boost"
	desc = "We have conquered this province and receive a manpower boost"
	style = 1

	date = { day = 1 month = January year = 1419 }
	offset = 20
	deathdate = { day = 1 month = January year = 1819 }


	action_a ={ #Ok#
		name = "Ok"
		command = { type = manpower   value = 5 }
}
 
use random = [percent_integer] in trigger of event... though you'd need many such events
 
Not easy with current script engine structure and you can have only one random event per year at max.

So, I must do 365 events and maybe trigger command by command to avoid too events.

use random = [percent_integer] in trigger of event... though you'd need many such events

In which way? :confused:
 
Does random = [int] function the same way as it does in Victoria? As in, the chance is for the event to occur every time it reaches offset?

Because in that case, you only need one event per province, and can just use a combination of offset and deathdate to produce the desired result.
 
Last edited:
Does random = [int] function the same way as it does in Victoria? As in, the chance is for the event to occur every time it reaches offset?

Afaik it's one time chance, the first time trigger conditions are met on an offset.
 
Does random = [int] function the same way as it does in Victoria? As in, the chance is for the event to occur every time it reaches offset?

Because in that case, you only need one event per province, and can just use a combination of offset and deathdate to produce the desired result.

One event per provinces is too: 2018 events would be

I haven't seen an event with random = percent integer... yet. If I want an "immediate" random event I must set 100?
 
Could I write random = 100 and set in the triggers countrysize = 100 and not countrysize = 110 so that each times E. Roman Empire own other provinces, it increases its manpower and tax? :)

My only doubt is about random = 100... I've seen it yet! :confused:
 
random = <number> is a trigger; it's not a replacement for random = yes/no.