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

Garbon

Sultan d'Afrique
74 Badges
Feb 1, 2002
9.764
251
www.crystalempiregames.com
  • For The Glory
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV
  • Imperator: Rome
  • Cities: Skylines Industries
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
So can anything see whats wrong with this event. When its present in an event file, a warning pops out about unknown statements in the trigger. However, this event doesn't have a trigger and the unknown statements that are shown, are the lines for an event, that is four events away from this event. When its removed, everything works fine, so its something about this event. I tried isolating this event into its own file...and it causes the game to hang up on loading the scenario.

Code:
#Princes of Badaskhan
event = {
	id = 412000
	random = no
	country = TOX
	name = "Princes of Badaskhan"
	desc = "Upon the death of Abû Sa`id, the Empire literally fell to pieces. Husain Baiqara, great-grandson of Timur's son, Umar Shaikh, succeeded in occupying Eastern Persia and Khwarizm. The rest of Sa`id's kingdom was divided between his four sons. The eldest, Ahmad, was established in Samarkand and Bukhara.  His second son, Sultan Mahmud was given Badaskhan, Khultan, Tirmiz, Qunduz, and Hisar. Ulugh Beg, his third, was given Kabul and Ghazni with the fourth, Umar Shaikh as ruler of Ferghana. The glory days of the Timurid Empire were at an end."
	style = 1
	action_a ={ 
		name = "We shall be unstoppable!""
		command = { type = CAV which = -1 value = 5000 }
		command = { type = CAV which = -1 value = 5000 }
		command = { type = relation which = TIM value = -300 }
		command = { type = relation which = U03 value = -400 }
		command = { type = relation which = UZB value = -100 }
		command = { type = relation which = AKK value = -400 }
		command = { type = relation which = QAR value = -400 }
		command = { type = breakvassal which = TIM }
		command = { type = remove_countryculture which = mongol } # check for duplicates
		command = { type = remove_countryculture which = canary } # check for duplicates
		command = { type = add_countryculture which = mongol }
		command = { type = add_countryculture which = canary }
	}
}
 

unmerged(31425)

Married Man
Jul 2, 2004
2.826
0
Code:
name = "We shall be unstoppable!""
Double quotation marks at the end?