Missing line in _changeOrder.txt event?

Moderator: AlvaroSousa

Post Reply
User avatar
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

Missing line in _changeOrder.txt event?

Post by PanzerMike »

Hi Alvaro,

Check this event:
//USSR remove retreats areas when it's 1942
$ChangeOrder
if_Country=4
if_Date=1/1/1942
lifespan=tillTrigger
actionCountry=4
xyArea=174,67,0
xyArea=178,74,0
xyArea=183,59,0
$End

This event cancels the Ignore order set in three earlier events, for example this one:
//USSR retreat Marshes when Axis are close to Kiev and Gomel
$ChangeOrder
if_Country=4
if_Date=1/1/1939
if_Alliance=Allies
lifespan=tillTrigger
xyControl=188,56,Axis
xyControl=186,63,Axis
actionCountry=4
xyArea=183,59,31
$End

I think however that the "USSR remove retreats areas when it's 1942" needs an extra line to make sense:
if_Alliance=Allies

If the Axis does a 1942 Barbarossa, that line "if_Alliance=Allies" needs to be there to make sense, no?
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Missing line in _changeOrder.txt event?

Post by AlvaroSousa »

Thanks I will check it out. Yea I probably forgot to add something.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Missing line in _changeOrder.txt event?

Post by AlvaroSousa »

1st one is redundant. I forgot to remove it.

2nd one is correct
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “War Plan: Tech Support”