thank you.
Oneyed
Moderator: Cartographers

you meant with or without.koontz1973 wrote:I doubt it but not 100% sure. As far as I am aware, a border is a border, without or without conditions.

but it is possible to code in xml? because it sounds a little alogical - who wants to attack region which he holds?koontz1973 wrote:Thats fine. It is a conditional border.

I know. but is possible to code this? does xml allowed this?koontz1973 wrote:You cannot attack a region you hold.![]()
not exactly. I asked if I can attack A when I hold A B C.koontz1973 wrote: You asked, can you attack if you hold ABC. If you do not hold them, you cannot attack. That is a conditional border.

so it is possible!thenobodies80 wrote:Technically is possible,
for what I need it makes sense.thenobodies80 wrote: but as koontz said it makes no sense.
but it would be possible to reinforce this region, right? this is my idea - these units in region A are not for attack but for reinforce.thenobodies80 wrote: That region would be impossible to take.
this is fine (for me). I do not want to attack A from B anyway.ender516 wrote:If you hold A, there is NO WAY to attack A, regardless of any other territories you might hold.
this is not what is my idea...ender516 wrote: However, you might be able to close the borders of A by holding A, B, and C such that once you have taken it, you cannot reinforce in or out of A.
...but when I good understood thenobodies the game works step by step:ender516 wrote: Exactly how the game engine would respond in this case is probably untested. I wonder if you might even have trouble advancing troops upon conquest in such a situation.
If you hold A and B at the start of a turn, you cannot attack at all. You hold the regions, you cannot attack yourself.so if I hold A and B at the start (and there is one way attack from A to B, but B is possible to attack from another region)) I can not attack A from B.
If you want to be able to reinforce either way, you can, that is a normal border. If you want it A to reinforce B, use a normal border for that. You can then use a conditional border the other way.but at the end of my turn I can reinforce from A to B because there is executed condition for open border (hold A and B to one way attack/reinforce A to B).

hm, but it looks as the closest possibility.thenobodies80 wrote:That is not what you said before....![]()
it is not matter if it will be group territories or single one. not in the core....thenobodies80 wrote: You starting question was about a group of territories and not a single territory.
this would be nice.thenobodies80 wrote: If you want an explanation about that starting question, please let me know.![]()
I will try to explain what is my idea:thenobodies80 wrote: Oh, btw.... In that case...so you can attack A only if you hold A,B,C.... From which region you want to attack ( or reinforce ) A? It's B,C or another D region?
Nobodies
It's important instead. This because you can use continents for conditional borders as well.Oneyed wrote:it is not matter if it will be group territories or single one. not in the core....

This is not possible. If you hold a territory you can't attack it. But yes, you can reinforce B from A at the end of your turn.Oneyed wrote:1, when player holds A and B he can one way attacks B from A. this conditional border valids only for one way attack A to B. I think this is possible.
Code: Select all
<territory>
<name>A</name>
<borders>
<border condition="A">B</border>
<border condition="B">B</border>
<border condition="C">B</border>
</borders>
</territory>Code: Select all
<territory>
<name>A</name>
<borders>
<border condition="D">B</border>
</borders>
</territory>