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

Heimdall

Brun hårig sjuk sköterska
Jan 25, 2002
177
2
Visit site
I've added a random event giving countries, under certain conditions, the possibility to get a conquistador. However I'm not sure about the triggers. Could someone please confirm that the event will trigger the way I've intended it to..?
Code:
trigger = {
		land = 18
		naval = 11
		trade = 4
		year = 1531
		NOT = { religion = pagan }
		NOT = { year = 1605 }
		OR = {
			discovered = 862
			discovered = 1043
			discovered = 1173
			discovered = 1328
		}
	}

Also, is it correct to use "year = xxx" and NOT = { year = xxx }" or should I use "date" and "deathdate" instead?

Thanks in advance!
 
The trigger you wrote means:
Il land is 18 or more, naval is 11 or more, trade is 4 or more, religion is not pagan, at least one of the four provinces is discovered by the country and year is between 1531 and 1604.

Is this what you had in mind?

Date, offset and deathdate are ignored in random events. Only year condition can be used.
 
Yep, that's exactly what I had in mind.

Thanks for the reply Yoda.