Page 1 of 1

$ChangeOrder

Posted: Fri Dec 20, 2019 12:50 pm
by Isoko
I dont understanding $ChangeOrder.

Manual
$ChangeOrder
actionCountry=number¯ Determines if this order if for the Axis or Allies.
Select an active Axis country for the Axis and an active Allied country for the Allies.
xyArea=x,y,number ¯ location of map order change and the order number.
xyArea=x,y,trueAxis ¯ Turn on Axis objective at x, y location.
xyArea=x,y,falseAxis ¯ Turn off Axis objective at x, y location.
xyArea=x,y,trueAllies ¯ Turn on Allies objective at x, y location.
xyArea=x,y,falseAllies ¯ Turn off Axis objective at x, y location.

Example 1
1939 Europe _changeOrder.txt
$ChangeOrder
if_Date=1/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=173,67,11
xyArea=171,59,11
xyArea=172,60,11
xyArea=167,56,11
xyArea=172,54,11
xyArea=175,55,11
//removes air garrisons
xyArea=171,58,0
xyArea=172,58,0
//adds Danish air garrisons
xyArea=155,65,6
xyArea=158,65,6
$End

Example 2
//Germany - With Poland conquered add all the polish objectives back
$ChangeOrder
if_Date=9/1/1939
if_Country=42
if_Surrender=true
actionCountry=6
lifespan=tillTrigger
xyArea=175,55,trueAxis
xyArea=176,64,trueAxis
xyArea=177,59,trueAxis
xyArea=178,53,trueAxis
xyArea=178,57,trueAxis
xyArea=179,62,trueAxis
xyArea=180,67,trueAxis
$End

I think Exmple 1 is executed when Poland surrenders.
I dont understanding number,Axis objective and Allies objective.

Example 1
What do 11,0 and 6 mean?
What happens at 173,67 location?

Example 2
What are Axis objective and Allies objective?
What will turn on or off?
What happens at 175,55 location?

RE: $ChangeOrder

Posted: Fri Dec 20, 2019 1:01 pm
by AlvaroSousa
xyArea=x,y,number ¯ location of map order change and the order number.

This refers to the A.I. order number - Editor -> A.I. Strat -> look at bottom of screen on the left you will see "ORDER ID# ?" click on any of the orders below. That number changes. So in case of the 1st set of $ChangeOrder 11 refers to a "GarL" order = garrison large land unit. The ZERO removes the air garrison orders which I think were order 6. The Danish air garrison order now adds order 6 which is a bomber garrison to help stop the UK run into Denmark and help for Noway.

##########

xyArea=x,y,trueAxis ¯ Turn on Axis objective at x, y location.
xyArea=x,y,falseAxis ¯ Turn off Axis objective at x, y location.
xyArea=x,y,trueAllies ¯ Turn on Allies objective at x, y location.
xyArea=x,y,falseAllies ¯ Turn off Axis objective at x, y location.

This changes if a location is an objective for the A.I. Axis or Allied side or both.

In the A.I. Strat section again you have Orders, Set Both Obj, Set Axis Obj, Set Allied Obj
You can do this 2 ways. Either via script or by clicking on the map.

Select set both obj and click any hex. You will see 2 flags. Hover over and hit DELETE removes the objectives.

So the xyArea above adds or removes objectives via script.

RE: $ChangeOrder

Posted: Fri Dec 20, 2019 1:48 pm
by Isoko
Thank you very much, Alvaro.

Editor A.I. Strat
FtrGar=Air Superiority Garrison
IntStr=Air Superiority Interceptor Defense
Are these correct?

RE: $ChangeOrder

Posted: Fri Dec 20, 2019 4:14 pm
by AlvaroSousa
yes