Change order clarification

Moderator: AlvaroSousa

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

Change order clarification

Post by PanzerMike »

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?
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Change order clarification

Post by AlvaroSousa »

Yea I think I meant surrender there no axis. I'll put it on the list. It is meant to help thwart an invasion.
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
PanzerMike
Posts: 1218
Joined: Sun Apr 30, 2006 8:40 am

Re: Change order clarification

Post by PanzerMike »

Yeah, I figured as much :mrgreen:
Please keep a good record of the changes for the next patch so that we can keep mods in synch!

And I am changing it in my mod to:
//North Africa remove Allied air holds in 1942 if no axis
$ChangeOrder
if_Date=1/1/1942
if_Country=7
//if_Alliance=Axis
if_Surrender=true
lifespan=tillTrigger
actionCountry=1
xyArea=193,10,0
xyArea=193,18,0
$End
User avatar
AlvaroSousa
Posts: 12016
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

Re: Change order clarification

Post by AlvaroSousa »

I copy the post directly so I can reread the issue in full.
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”