how do you set up a region where everyone is friendly to eachother but as soon as they leave that region they will kick everyones butt?
example: castle in the middle of the map. unit of red enters through a gate into the castle and can trade there, with other units, for example from blue. but if he is out of the castle and sees blue he would attack blue.
ive been playin around with the Set Alliance, and modify Alliance settings--triggers but so far without any good result. so does anyone have some pointers for me? ( for example would it help if i DONT try to make just one trigger for it but multiple triggers, or use some kind of variables, etc etc )
well, i think the only way is to mess with alliance properties.
event * a unit enters (castle) condition * Unit = hero(1) actions * Player group - pick every player in (all players) and do Make (picked player) treat Player (1) as an Ally with shared vision.
And the other way around.. as far as i know. goodluck
Lonely Wolf.Event -------- Unit enters (YOUR REGION)
Action -------- Unit Group: Pick every unit in (YOUR REGION) And do action Make picked unit invulnerable ---------------------------------------------
Event -------- Unit leaves (YOUR REGION)
Action --------- UNIT: Make leaveing unit vulnerable
well this wouldnt be something i want cuz in the castle are playercontrolled ogres who can trade with merchants coming into the castle. but ogres dontlike it if they are being scammed, and only know 1 way of solving the problem then *boing*
Make a custom player group and add the player to the group when the enter the castle region, and make them allys to the other players in the group. And make other players allys to them.
Exit Castle region:
Make player unally to players in group, Make other players unally the leaving player, and remove them from the custom player group.