Cantona66 Posted October 12, 2011 Share Posted October 12, 2011 I do not understand why this script is not working? These 2 decision scripts fire alright but not the linked territory script! ; USSR Declares War Against Finland ; Historical date of event was 1939/11/30 { #NAME= DE 1- Treaty of Moscow and the Soviet-Finnish Winter War (Historical) #POPUP= USSR Fights Over The Finnish Border #IMAGE= #SOUND= #FLAG= 1 #TYPE= 1 #AI= 0 #LEVEL= 0 #GV= 1[1,100] #LINK= 0[0] #COUNTRY_ID= 4 #TRIGGER= 100 #DISPLAY_ORDER= 1 ; Set decision value (first internally stored decision) #DECISION= 1 ; Set how many MPPs should be collected over X turns if player selects 'yes' (dummy values) #MPP_UPDOWN= 0 #MPP_TURNS= 0 #MPP_TEXT= ; Set AI acceptance % (Allied AI will accept 100% of the time) #AI_RESPONSE= 100 #AI_RESPONSE_POPUP= USSR invades Finland with 21 divisions #DATE= 1939/11/30 #TEXT_RGB= 0,0,0 #SHADOW_RGB= 194,186,186 #NATIONAL_MORALE_TRIGGER= 0 [0] ;Set Friendly Position (Moscow) #FRIENDLY_POSITION= 330,40 ; Set variable conditions: ; 2nd Line - Finland politically aligned with Axis (not fully active) and not surrendered #VARIABLE_CONDITION= 21 [1] [0] [0] ; Dummy condition position (always satisfied) #CONDITION_POSITION= 0,4 [0,0] [0,0] [0] [0] } { #NAME= DE 385 - Treaty of Moscow and the Soviet-Finnish Winter War #POPUP= Moscow Peace Treaty: Winter war ends #IMAGE= 0winterwarpeace.bmp #SOUND= #FLAG= 1 #TYPE= 1 #AI= 0 #LEVEL= 0 #GV= 1[1,100] #LINK= 1[1] #COUNTRY_ID= 4 #TRIGGER= 100 #DISPLAY_ORDER= 1 ; Set decision value (first internally stored decision) #DECISION= 1 ; Set how many MPPs should be collected over X turns if player selects 'yes' (dummy values) #MPP_UPDOWN= 0 #MPP_TURNS= 0 #MPP_TEXT= ; Set AI acceptance % (Allied AI will accept 100% of the time) #AI_RESPONSE= 100 #AI_RESPONSE_POPUP= USSR Declares War Against Finland #DATE= 1940/03/13 #TEXT_RGB= 0,0,0 #SHADOW_RGB= 194,186,186 #NATIONAL_MORALE_TRIGGER= 0 [0] ;Set Friendly Position (Moscow) #FRIENDLY_POSITION= 330,40 ; Set variable conditions: ; 2nd Line - Finland politically aligned with Axis (not fully active) and not surrendered #VARIABLE_CONDITION= 21 [1] [0] [0] ; Dummy condition position (always satisfied) #CONDITION_POSITION= 0,4 [0,0] [0,0] [0] [0] } ; USSR Annexes Finnish Territory ; Historical date of event was 1940/03/12 { #NAME= Treaty of Moscow and the Soviet-Finnish Winter War (Historical) #POPUP= Moscow Peace Treaty: Winter war ends #IMAGE= 0winter_war_treaty.bmp #SOUND= #FLAG= 1 #TYPE= 1 #AI= 0 #LEVEL= 0 #GV= 1[1,100] #LINK= 385[1] #COUNTRY_ID= 21 #TRANSFER_ID= 4 #TRIGGER= 100 #DATE= 1940/03/12 } Link to comment Share on other sites More sharing options...
Bill101 Posted October 12, 2011 Share Posted October 12, 2011 Hi Cantona The problem with the second one appears to be in the decision event, as rather than be: #DECISION= 1 It should be: #DECISION= 385 Link to comment Share on other sites More sharing options...
Cantona66 Posted October 12, 2011 Author Share Posted October 12, 2011 Oh my god, so simple! And i havestudied these scripts over and over! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts