Jump to content

War Entry scripts not working


Recommended Posts

Any idea why these scripts do not fire?

It used to work in earlier versions on my mod and AoC.

Yugoslavia has surrendered and date date is 1941

; Croatian War Entry

{

#NAME= Croatia

#POPUP= Croatia joins Axis alliance

#IMAGE=

#SOUND=

#FLAG= 1

#TYPE= 1

#AI= 0

#LEVEL= 0

#GV= 1[1,100]

#LINK= 0[0]

#COUNTRY_ID= 58

#TRIGGER= 100

#ALIGNMENT= 1

#DATE= 1939/03/27

;Set variable conditions:

;1st Line - Yugoslavia politically aligned with Allies and surrendered

#VARIABLE_CONDITION= 49 [2] [100] [1]

}

DE 45 fires as planned, but not the War Entry scripts

; Germany Invades Low countries:

{

#NAME= Germany Invades BENELUX (DE 45 - Yes)

#POPUP= Germany Invades

#IMAGE=

#SOUND= war2.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#GV= 1[1,100]

#LINK= 45[1]

#LEVEL= 0

#COUNTRY_ID= 13

;Set BENELUX war entry

#TRIGGER= 100

#ALIGNMENT= 2

#DATE= 1940/05/01

;1st Line - Germany politically aligned with Axis and not surrendered

#VARIABLE_CONDITION= 6 [1] [100] [0]

}

; Germany Invades Low countries:

{

#NAME= Germany Invades BENELUX (DE 45 - Yes)

#POPUP= Germany Invades Netherlands

#IMAGE=

#SOUND= war2.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#GV= 1[1,100]

#LINK= 45[1]

#LEVEL= 0

#COUNTRY_ID= 33

;Set BENELUX war entry

#TRIGGER= 100

#ALIGNMENT= 2

#DATE= 1940/05/01

;1st Line - Germany politically aligned with Axis and not surrendered

#VARIABLE_CONDITION= 6 [1] [100] [0]

}

; Germany Invades Low countries:

{

#NAME= Germany Invades BENELUX (DE 45 - Yes)

#POPUP= Germany Invades Luxembourg

#IMAGE=

#SOUND= war2.wav

#FLAG= 1

#TYPE= 1

#AI= 0

#GV= 1[1,100]

#LINK= 45[1]

#LEVEL= 0

#COUNTRY_ID= 61

;Set BENELUX war entry

#TRIGGER= 100

#ALIGNMENT= 2

#DATE= 1940/05/01

;1st Line - Germany politically aligned with Axis and not surrendered

#VARIABLE_CONDITION= 6 [1] [100] [0]

}

Link to comment
Share on other sites

Hmm, i´m sorry but i do not understand, what should it match?

In the first script, Croatia is neutral when it is created after Yugoslavia is surrendered and the other three (BENELUX) is also all neutral, so countries need to be aligned to Axis or Allies for War Entry scripts to be able to fire?

Link to comment
Share on other sites

Yes that was an issue we discovered with the Diplomacy thread started by Eisenhammer but what I will do is lift the #ALIGNMENT check if the country is still Neutral at the time when the WAR ENTRY is set to fire or not.

Hopefully this will resolve the issue for you as right now the value in the #ALIGNMENT field must match the current alignment of the #COUNTRY_ID as this will help us solve other issues in game.

Link to comment
Share on other sites

×
×
  • Create New...