I have tested the events and the United Nations Annexs EU, but the EU is never released, shouldn't the event be like this?:
Where U69 is UN and U70 is EU.
Code:
event = {
id = 2900
random = no
persistent = yes
country = U69
trigger = {
AI = yes
exists = U70
}
name = "AI_EVENT"
desc = "..."
style = 0
date = { day = 0 month = January year = 1955 }
offset = 45
deathdate = { day = 31 month = December year = 1995 }
action_a = {
name = "Ok"
command = { type = inherit which = U70 }
}
}
event = {
id = 2901
random = no
persistent = yes
country = U69
trigger = {
AI = yes
NOT = { exists = which = U70 }
}
name = "AI_EVENT"
desc = "..."
style = 0
date = { day = 0 month = January year = 1955 }
offset = 45
deathdate = { day = 31 month = December year = 1995 }
action_a = {
name = "Ok"
command = { type = independence which = U70 = value = 1 }
}
}
Where U69 is UN and U70 is EU.