My mobilization script doesn't seem to be working

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
User avatar
pcpilot
Posts: 77
Joined: Fri Jan 25, 2008 11:17 am
Location: Gods country, USA

My mobilization script doesn't seem to be working

Post by pcpilot »

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]
}
User avatar
BillRunacre
Posts: 5907
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: My mobilization script doesn't seem to be working

Post by BillRunacre »

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
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
User avatar
pcpilot
Posts: 77
Joined: Fri Jan 25, 2008 11:17 am
Location: Gods country, USA

RE: My mobilization script doesn't seem to be working

Post by pcpilot »

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.
User avatar
BillRunacre
Posts: 5907
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

RE: My mobilization script doesn't seem to be working

Post by BillRunacre »

Glad to hear you got it working. [:)]
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
Post Reply

Return to “Scenario Design and Modding”