conditional border

Topics that are not maps. Discuss general map making concepts, techniques, contests, etc, here.

Moderator: Cartographers

Forum rules
Please read the Community Guidelines before posting.
Post Reply
User avatar
Oneyed
Posts: 1058
Joined: Sat Dec 10, 2011 12:29 pm
Gender: Male

conditional border

Post by Oneyed »

it is possible to code that if one player holds combination "X" of regions the "Y" border will be not possible to cross for every players?

and if this player lost "X" combination the "Y" border will be again possible to cross?

Oneyed
User avatar
thenobodies80
Posts: 5400
Joined: Wed Sep 05, 2007 4:30 am
Gender: Male
Location: Milan

Re: conditional border

Post by thenobodies80 »

Not directly, if i got it right you want a passive conditional.
But it's possible to code something to work in that way. Conditional are not coded on players but only taking into account regions. So I think all you need to do is to code the X regions as conditional for Y to be able to attack, all the players who don't hold X won't be able to cross Y.....
But be aware is not because you hold X but because the others don't.

I hope it's clear, if not, let me know and I'll make a more clear example this evening when back at home.

Nobodies
User avatar
Oneyed
Posts: 1058
Joined: Sat Dec 10, 2011 12:29 pm
Gender: Male

Re: conditional border

Post by Oneyed »

thenobodies80 wrote:Not directly, if i got it right you want a passive conditional.


yes, this is my idea.
thenobodies80 wrote:But it's possible to code something to work in that way. Conditional are not coded on players but only taking into account regions. So I think all you need to do is to code the X regions as conditional for Y to be able to attack, all the players who don't hold X won't be able to cross Y.....
But be aware is not because you hold X but because the others don't.

I hope it's clear, if not, let me know and I'll make a more clear example this evening when back at home.

Nobodies


it is clear, thanks :)

Oneyed
Post Reply

Return to “Foundry Discussions”