My mobilization script doesn't seem to be working (Full Version)

All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding



Message


pcpilot -> My mobilization script doesn't seem to be working (1/7/2017 5:25:02 PM)

My mobilization #1 script doesn't seem to be working. Both Italy and Algeria should
mobilize a certain percentage when Iceland falls. (this is a fantasy scenario) But when Germany invades and takes
Iceland, I don't see any changes in mobilization for either of these countries. I had also tried a different condition
where Iceland was Axis after it had fallen but that didn't seem to work. Maybe someone can look at this script and tell
me whats wrong. Thank you for your time.


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Allied Mobilization
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
{
#NAME= Axis Conquest of Iceland (Algeria->Allies)
#POPUP= Algeria begins mobilization for war!
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL=0
#GV=1[1,100]
#LINK=0[0]
#TRIGGER=100
#COUNTRY_ID= 4
; variable activation increase towards Allies
#MOBILIZATION= [50,100] [2]
; Set variable conditions:
; 1st Line - Iceland politically aligned with Allies and surrendered
#CONDITION= 53 [0] [2]
}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Axis Mobilization
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
{
#NAME= Axis Conquest of Iceland (Italy->Axis)
#POPUP= Italy begins mobilization for war!
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL=0
#GV=1[1,100]
#LINK=0[0]
#TRIGGER=100
#COUNTRY_ID= 59
; variable activation increase towards Axis
#MOBILIZATION= [50,100] [1]
; Set variable conditions:
; 1st Line - Iceland politically aligned with Allies and surrendered
#CONDITION= 53 [0] [2]
}




BillRunacre -> RE: My mobilization script doesn't seem to be working (1/8/2017 1:12:44 PM)

Hi

If you change the last line to:

#CONDITION= 53 [0] [1]

Then they should work. Yours were referencing Iceland surrendering to the Allies rather than Axis.

Bill




pcpilot -> RE: My mobilization script doesn't seem to be working (1/17/2017 2:59:07 AM)

Thank you for the answer Bill. I had to test it so that's why the long time to reply. I have actually modified it now so Algeria mobilizes 50-100% to allies on Iceland's invasion. And Italy mobilizes 100% to Axis on Iceland's defeat. Works well. Thanks again.




BillRunacre -> RE: My mobilization script doesn't seem to be working (1/17/2017 8:08:48 PM)

Glad to hear you got it working. [:)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
3.671875