Page 1 of 1

mobilization_4.txt with Surrender command is not working

Posted: Tue Dec 12, 2023 9:22 pm
by Lothos
I looked at several of the default campaign files and none of them is using this command but it appears to not work. I was trying to make a decision that would detect when France surrenders but it never fires when Vichy is formed. Vichy has surrendered because this command works #VARIABLE_CONDITION= 40 [2] [100] [1] and decision 638 which creates vichy only fires when France surrenders.

{
#NAME= DE 1011 - Surrendered - France to Axis
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#GV= 1[1,100]
#LINK= 0[0]
#LEVEL= 0
#COUNTRY_ID= 45
#TRIGGER= 100
#NM_UPDOWN= 0
#NM_TURNS= 0
#DECISION= 1011
; France Surrendered to Axis
#CONDITION= 40 [0] [1]
}

Just as a goof I tried change the condition to #CONDITION= 40 [0] [2] but still did not work. I am thinking this check is not working and noone has detected it because it is not being used.

Re: mobilization_4.txt with Surrender command is not working

Posted: Wed Dec 13, 2023 10:19 am
by BillRunacre
I've replied to your message, hopefully that fixes the issue!

Re: mobilization_4.txt with Surrender command is not working

Posted: Wed Dec 13, 2023 10:45 am
by Lothos
BillRunacre wrote: Wed Dec 13, 2023 10:19 am I've replied to your message, hopefully that fixes the issue!
It does not, that command you suggested to change it to is not supported in the mobilization_4.txt file. The format I posted is correct according to the comments on the file.

Re: mobilization_4.txt with Surrender command is not working

Posted: Thu Dec 14, 2023 1:48 pm
by Hubert Cater
Thanks for the report, I'll try and take a look at this as soon as I can and see what might be happening here

Re: mobilization_4.txt with Surrender command is not working

Posted: Sat Dec 23, 2023 8:56 pm
by Hubert Cater
This should now be fixed, looks like it was never properly setting a decision structure when there was a success on this event, e.g. one that would then possibly be linked to fire off other events, e.g. like a regular DECISION event would.