Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

Can someone look at this script...

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding >> Can someone look at this script... Page: [1]
Login
Message << Older Topic   Newer Topic >>
Can someone look at this script... - 12/26/2016 1:18:16 AM   
pcpilot


Posts: 78
Joined: 1/25/2008
From: Gods country, USA
Status: offline
...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.

_____________________________

Post #: 1
RE: Can someone look at this script... - 12/26/2016 9:29:00 AM   
TheBattlefield


Posts: 507
Joined: 6/11/2016
Status: offline
I would first try to delete the square brackets at #Flag; #Type; #AI; #Level; #Trigger and #Alignment. In my scripts there are no brackets at these positions...

(in reply to pcpilot)
Post #: 2
RE: Can someone look at this script... - 12/26/2016 4:51:11 PM   
pcpilot


Posts: 78
Joined: 1/25/2008
From: Gods country, USA
Status: offline
I KNEW if someone else took a look they would find the problem. I must have stared at that script for hours yesterday trying to figure out what was wrong. The problem was the examples showed the brackets. Thank you TB, it works now. I hope the older bmp images and wav sounds will work in sc3.

_____________________________


(in reply to TheBattlefield)
Post #: 3
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> Strategic Command Series >> Strategic Command WWII War in Europe >> Scenario Design and Modding >> Can someone look at this script... Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.117