Change order clarification
Posted: Wed Oct 19, 2022 9:45 am
Hi Alvaro,
In the _ChangeOrders.txt is this piece of script:
//North Africa remove Allied air holds in 1942 if no axis
$ChangeOrder
if_Date=1/1/1942
if_Country=7
if_Alliance=Axis
lifespan=tillTrigger
actionCountry=1
xyArea=193,10,0
xyArea=193,18,0
$End
If I read this correctly, it will start checking in 1942 whether Italy is part of the Axis. If Italy is part of the Axis, the two Allied air holds will be removed.
This makes no sense to me. I can imagine that the moment Italy is no longer part of the Axis (because it surrendered), these Allied air holds are no longer needed. But with the above script, it will fire on 1/1/1942 if Italy is Axis and remove the air holds and the event will never trigger again.
Am I misunderstanding it or is this script faulty?
In the _ChangeOrders.txt is this piece of script:
//North Africa remove Allied air holds in 1942 if no axis
$ChangeOrder
if_Date=1/1/1942
if_Country=7
if_Alliance=Axis
lifespan=tillTrigger
actionCountry=1
xyArea=193,10,0
xyArea=193,18,0
$End
If I read this correctly, it will start checking in 1942 whether Italy is part of the Axis. If Italy is part of the Axis, the two Allied air holds will be removed.
This makes no sense to me. I can imagine that the moment Italy is no longer part of the Axis (because it surrendered), these Allied air holds are no longer needed. But with the above script, it will fire on 1/1/1942 if Italy is Axis and remove the air holds and the event will never trigger again.
Am I misunderstanding it or is this script faulty?