• 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.
Feb 6, 2011
7
0
Hi,

yeah, the title is even my question:

How can I force the German AI (when I'm playing as Russia) always to affirm the Event "Send Lenin back to Russia" with "Allow him to go back to Russia"?

Or asking more directly, what do I have to change here for it:

Code:
event = {
	id = 2191511	# Send Lenin back to Russia 
	country = U08

	decision = { 
		exists = RUS
		event = 2104521 # Kerensky into power
	}
	decision_trigger = { 
	}
	trigger = {
		random = 25
		event = 2104521 # Kerensky into power
	}
   
	name = "EVT1914_2191511_NAME"
	desc = "EVT1914_2191511_DESC" 
	style = 2
	picture = "news_paper"

	date = { day = 12 month = november year = 1914 }
	offset = 7
	deathdate = { day = 30 month = december year = 1925 }

	action_a = {
		ai_chance = 100
		name = "EVT1914_2191511_ACTIONA" # Allow him to go back to Russia
		command = { type = relation which = RUS value = -5 }
		command = { type = trigger which = 2104522 } #RUS "Lenin is back"
	}
	action_b = { 
		trigger = { ai = yes } #force the player to send Lenin back so that SOV can appear
		ai_chance = 0
		name = "EVT1914_2191511_ACTIONB" # Force him to stay in Switzerland
		command = { type = relation which = RUS value = 5 }
	}
}

thx
 
Why write an event with a second option which is AI only, and AI chance zero?

Was there originally meant to be a chance of it not happening, or is there some other benefit from having that option there?