• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(63881)

New Nations Freak
Dec 26, 2006
1.695
4
www.irshappa.com
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
 

xtfoster

Field Marshal
57 Badges
Feb 8, 2006
5.874
2.208
  • Shadowrun Returns
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • BATTLETECH - Digital Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Distant Stars
  • BATTLETECH
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: No Step Back
  • Stellaris: Galaxy Edition
  • Deus Vult
  • Europa Universalis III
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
  • Europa Universalis III Complete
  • Semper Fi
  • Supreme Ruler 2020
  • 500k Club
  • Hearts of Iron II: Beta
  • Stellaris
  • Hearts of Iron II: Armageddon
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Expansion Pass
Daboo said:
Nope, it is not working neither :confused:
This event is for Country U00, so U00 MUST exist for the event to fire. This means that the first condition isn't needed. You might want to write a second event to sleep that minister after release of Catalonia if the SCW happened and Vichy has fired.
 

unmerged(63881)

New Nations Freak
Dec 26, 2006
1.695
4
www.irshappa.com
xtfoster said:
This event is for Country U00, so U00 MUST exist for the event to fire. This means that the first condition isn't needed. You might want to write a second event to sleep that minister after release of Catalonia if the SCW happened and Vichy has fired.

You are right, I'm afraid.
I wrote the event of differents ways but it only really triggers with the first condition, war between U00 and SPA.

Thank you very much you both for the help