Gut, ich werde dann mal einen heroischen Versuch starten, falls es nicht funktioniert, melde ich mich.
EDIT:
Code: Alles auswählen
#########################################################################
# China - Mogelei
#########################################################################
event = {
id = 953013
random = no
country = CHI
trigger = {
ai = yes
NOT = {
war = { country = CHI country = MON }
}
}
name = "China kommt zu seinem Recht"
desc = "China besetzte die ehemalige Mongolei, die Sowjetunion intervenierte
aus Furcht vor Argentinien nicht."
style = 0
date = { day = 23 month = march year = 1940 }
offset = 1
deathdate = { day = 30 month = december year = 1947 }
action_a = {
name = "OK"
command = { type = Inherit which = MON }
}
}Edith meint, dass ich (mal wieder) ein Problem mit selbstgeschriebenen Events habe.
Code: Alles auswählen
#########################################################################
# Kanada 1
#########################################################################
event = {
id = 953014
random = no
country = CAN
trigger = {
ai = yes
NOT = {
war = { country = CAN country = ENG }
}
}
name = "Kanada verlässt die Allianz"
desc = "Kram."
style = 0
date = { day = 20 month = may year = 1940 }
offset = 0
deathdate = { day = 30 month = december year = 1947 }
action_a = {
name = "OK"
command = { type = leave_alliance }
command = { type = trigger which = 953015 }
}
}
#########################################################################
# England
#########################################################################
event = {
id = 953015
random = no
country = ENG
trigger = {
ai = yes
NOT = {
war = { country = ENG country = CAN }
}
}
name = "Kanada"
desc = "Latsch."
style = 0
action_a = {
name = "OK"
command = { type = secedeprovince which = CAN value = 575 }
command = { type = secedeprovince which = CAN value = 576 }
command = { type = peace which = MEX value = 0 }
command = { type = trigger which = 953016 }
}
}
#########################################################################
# Kanada Folge
#########################################################################
event = {
id = 953016
random = no
country = CAN
trigger = {
ai = yes
NOT = {
war = { country = CAN country = ENG }
}
}
name = "Danke großer Bruder."
desc = "Tratsch."
style = 0
action_a = {
name = "OK"
command = { type = addcore which = 575 }
command = { type = addcore which = 576 }
command = { type = war which = USA }
command = { type = war which = MEX }
command = { type = peace which = GER value = 0 }
}
}
Gleichzeitig soll der Krieg zwischen Allies und CSA sowie der Krieg zwischen Kanada und der Achse eingestellt werden.
Funktioniert alles wunderbar, allerdings verschwindet nach den Events der Krieg zwischen Kanada und CSA... dieses Problem wollte ich mit einer einfachen Kriegserklärung an Mexiko lösen, aber auch dann gibt es keinen Krieg zwischen Kanada und MEX/CSA.
Es gibt auch kein Waffenstillstandsabkommen, der Krieg ist einfach weg.
Das Problem ist gelöst, ich habe einfach noch ein Event drangehängt, in dem MEX Kanada den Krieg erklärt.