I am having problem with YNA relocation events from Slovenia. Calling events won't trigger. Below is an example, event 3800 doesn't trigger. Can anyone see why?
Code:
# 1. armoured brigade
event = {
id = 2181
random = no
country = YUG
trigger = {
NOT = { war = { country = YUG country = SLO } }
}
date = { day = 2 month = september year = 1091 }
offset = 30
deathdate = { day = 30 month = september year = 1091 }
name = "Fate of 1st armoured brigade."
desc = "Following 10-day war YNA withdrew this unit from Slovenia. Most of this brigade was never withdrawn."
action_a = {
name = "ACTIONNAME2180" # Banja Luka
#ai_chance = 99
command = { type = remove_division which = 10500 value = 3815361 }
command = { type = remove_division which = 10500 value = 3815362 }
command = { type = remove_division which = 10500 value = 3815363 }
command = { type = remove_division which = 10500 value = 3815364 }
command = { type = add_corps which = "5/329 mbr" value = land where = 1973 }
command = { type = add_division which = "5/329. mbr" value = armor when = 1 } # T55
command = { type = trigger which = 3800 }
}
}
event = {
id = 3800
trigger = { }
}
random = no
country = SLO
name = "Fate of YNA 1st armoured brigade"
desc = "Following 10-day war YNA withdrew this unit from Slovenia. Most of this brigade was never withdrawn."
action_a = {
name = "ACTIONNAME3800"
command = { type = add_corps which = "72. motorizovana brigada" value = land where = 67 }
command = { type = add_division which = "74. bataljon" value = armor when = 1 } # T55, maribor
command = { type = add_division which = "24. bataljon" value = armor when = 2 } # M84, cerklje
command = { type = add_corps which = "52. motorizovana brigada" value = land where = 26 }
command = { type = add_division which = "54. bataljon" value = armor when = 2 } # T84, vrhnika
}
}