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 }
}
}