Can someone look at this script...
Posted: Sun Dec 25, 2016 11:18 pm
...and tell me whats wrong with it. Its a war entry script I used in SC2 modded to hopefully work with SC3.
However, the editor tells me there are errors. I get a message that says, "Error, war entry event line 222.
#Flag is not a valid number"
{
#NAME= Italy joins war with Axis
#POPUP= Italy joins Axis in the war with Britain
#IMAGE= italy1.bmp
#SOUND= victory_march.wav
#FLAG= [1]
#TYPE= [2]
#AI= [0]
#LEVEL= [0]
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= [100]
#COUNTRY_ID= 59
#ALIGNMENT= [1]
#DATE= 1940/06/10
;1st Line - Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
}
; Italy Joins The Axis:
; Alternate event (10% chance)
{
#NAME= Italy Joins The Axis (Prior to 1940)
#POPUP= Italy Declares War On Britain And France
#IMAGE=italy1.bmp
#SOUND= victory_march.wav
#FLAG= [1]
#TYPE= [1]
#AI= [0]
#LEVEL= [0]
#GV= 1[1,100]
#LINK= 0[0]
;Set Italian war entry
#TRIGGER= [10]
#COUNTRY_ID= 59
#ALIGNMENT= [1]
#DATE= 1939/09/10
;1st Line - Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
}
I have looked this thing to death and cant find whats wrong with it. Maybe some new eyes can. Thank you very much for your help.
However, the editor tells me there are errors. I get a message that says, "Error, war entry event line 222.
#Flag is not a valid number"
{
#NAME= Italy joins war with Axis
#POPUP= Italy joins Axis in the war with Britain
#IMAGE= italy1.bmp
#SOUND= victory_march.wav
#FLAG= [1]
#TYPE= [2]
#AI= [0]
#LEVEL= [0]
#GV= 1[1,100]
#LINK= 0[0]
#TRIGGER= [100]
#COUNTRY_ID= 59
#ALIGNMENT= [1]
#DATE= 1940/06/10
;1st Line - Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
}
; Italy Joins The Axis:
; Alternate event (10% chance)
{
#NAME= Italy Joins The Axis (Prior to 1940)
#POPUP= Italy Declares War On Britain And France
#IMAGE=italy1.bmp
#SOUND= victory_march.wav
#FLAG= [1]
#TYPE= [1]
#AI= [0]
#LEVEL= [0]
#GV= 1[1,100]
#LINK= 0[0]
;Set Italian war entry
#TRIGGER= [10]
#COUNTRY_ID= 59
#ALIGNMENT= [1]
#DATE= 1939/09/10
;1st Line - Germany politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
}
I have looked this thing to death and cant find whats wrong with it. Maybe some new eyes can. Thank you very much for your help.