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

tuore

Caramelised Utopian
76 Badges
Mar 16, 2009
6.981
188
  • March of the Eagles
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Crusader Kings II
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Arsenal of Democracy
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities: Skylines - After Dark
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Island Bound
  • 200k Club
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Wealth of Nations
  • Victoria 2
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
If I make a random event, can I change how random it will be? If I'd like it to have a 50% chance of firing?

Or, if nothing else, can I make ONE events that fires for EVERY nation during one week?
 
Last edited:
Or, if nothing else, can I make ONE events that fires for EVERY nation during one week?
That's certainly possible. Here are some events that I made for all revolters so I can actually see them once in awhile...
Code:
event = { 
	id = 12000119
	trigger = { 
	NOT = { exists = ALG }
	NOT = { local_flag = ALGInd }
        ai = yes
        control = { province = 949 data = -1 }
		NOT = {
			country = FRA
			country = ITA
			country = VIC
			country = ENG
			country = ub2
			country = ARA
		}			
	}
	random = no
        persistent = yes
	name = "AI_EVENT"
	desc = "AI_EVENT"
       picture = "Uprising"
	style = 0

	date = { day = 1 month = january year = 1936 }
	offset = 14
	deathdate = { day = 29 month = december year = 1999 }
	
	action_a = { 
		ai_chance = 85
		name = "Keep these lands" 
		command = { type = local_setflag which = ALGIND }
		command = { type = dissent value = 5 }
		command = { type = belligerence value = 10 }
	}
	action_b = { 
		ai_chance = 3
		name = "Make Independent" 
		command = { type = independence which = ALG value = 0 }
		command = { type = belligerence value = -5 }
		command = { type = set_relation which = ALG value = 180 }
		command = { type = vp value = 10 }
	}
	action_c = { 
		ai_chance = 12
		name = "Make Puppet" 
		command = { type = independence which = ALG }
		command = { type = dissent value = 2 }
		command = { type = alliance which = ALG }
		command = { type = make_puppet which = ALG }
		command = { type = set_relation which = ALG value = 200 }
	}
}

It fires for any ai country ( except the ones excluded ) that controls Algiers. Just leave out the "country = " line, set your trigger conditions and your event will fire for every country that meets those trigger conditions.