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

xGhost4000x

General
136 Badges
Aug 5, 2009
2.109
84
  • Sengoku
  • Magicka 2
  • Lead and Gold
  • Leviathan: Warships
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Pillars of Eternity
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Impire
  • Ship Simulator Extremes
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines Deluxe Edition
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • War of the Roses
  • War of the Vikings
  • Europa Universalis III Complete
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
My event keeps getting better and better, but I still do not have the event properly handling imprisonment. Any suggestions?

Code:
character_event = {
	id = 4000771
	
	is_triggered_only = yes
	trigger = { 
							
				traits = wounded
				is_alive = yes
								
				}
	
	title = "$GENERALTITLE$ in danger"
	desc = "Your $GENERALTITLE$ is in severe danger of capture or death!"
	
	option = {
		name = "Lay low $GENERALTITLE$ and return home!"
					country = { treasury = -250 }
					family_prestige = -20
					loyalty = 30
			 }
	option = {
		name = "My $GENERALTITLE$ you will be a free man again! "
		            prisoner = yes
					move_character = FROM
					add_trait = maimed
					family_prestige -5
					loyalty = -10
			 }
	option = {
		name = "My $GENERALTITLE$ if you have any honour left, fall on your sword!"
					death = yes
					family_prestige = 20
			 }

}