Please I need help with an event that is driving me crazy:
Lluis Companys was the republican president of Catalonia. He was arrested in exile by the Gestapo in France in 1940, delivered to the Nationalists and later executed by them in Barcelona.
I'm creating an event for his death for the New Nations Mod. The event can be triggered by 2 possibilities:
1.- Catalonia doesn't exists and there's war between SPA and SPR
2.- Catalonia exists and is in war with SPA.
This is the event I wrote:
### Companys ha Mort!!!
event = {
id = 88001
random = no
country = U00
style = 0
trigger =
OR = {
{
war = { country = U00 country = SPA }
}
}
OR = {
{
war = { country = SPR country = SPA }
{ not_exists = U00 }
}
}
date = { year = 1936 month = july day = 18 }
offset = 1
deathdate = { year = 1940 month = october day = 14 }
name = "EVT_88001_NAME"
desc = "EVT_88001_DESC"
picture = "companys_died"
action_a = {
name = "OK"
command = { type = sleepminister which = 500 }
command = { type = sleepminister which = 506 }
}
}
None of the 2 possibilities is working. What I did wrong?
NOTE: the date is set to 1936 for testing purposes
Lluis Companys was the republican president of Catalonia. He was arrested in exile by the Gestapo in France in 1940, delivered to the Nationalists and later executed by them in Barcelona.
I'm creating an event for his death for the New Nations Mod. The event can be triggered by 2 possibilities:
1.- Catalonia doesn't exists and there's war between SPA and SPR
2.- Catalonia exists and is in war with SPA.
This is the event I wrote:
### Companys ha Mort!!!
event = {
id = 88001
random = no
country = U00
style = 0
trigger =
OR = {
{
war = { country = U00 country = SPA }
}
}
OR = {
{
war = { country = SPR country = SPA }
{ not_exists = U00 }
}
}
date = { year = 1936 month = july day = 18 }
offset = 1
deathdate = { year = 1940 month = october day = 14 }
name = "EVT_88001_NAME"
desc = "EVT_88001_DESC"
picture = "companys_died"
action_a = {
name = "OK"
command = { type = sleepminister which = 500 }
command = { type = sleepminister which = 506 }
}
}
None of the 2 possibilities is working. What I did wrong?
NOTE: the date is set to 1936 for testing purposes