what is the best way to keep teams allied? i made it so force 1 had to be allied + allied victory with force 1 + preserve trigger. but that makes it so they cant even press attack and kill their own units. basically if player 1 built a building and wanted to get rid of it, player 1 couldnt even attack his own building.
None.
That's because the player is constantly allied with himself, disrupting any self attacks. Just define for each player in Force 1 who to constantly ally with (all the other players in force 1), individually. Then they'll be able to kill themselves but not their allies.
None.
There are 3 methods:
Spam ally/unally. This prevents you from force attacking any allied unit (including your own). This is only possible with hyper triggers. Some units can attack through the spam (gol tank vult ling .5 zeal etc...) if their iscript has them attacking on the first frame of the animation.
Spam ally/nally every few seconds. This prevents you from force attacking allied units from a distance. If you don't have hyper triggers, this is what happens. All units (except maybe devourers) can attack allied units, but not lock on.
Here's the new one:
Detect when the player changes alliance status. How do you do that? The "foes" and "allies" player will detect it. Have each player run a unique death count, like player 1 has 1 death of cantina at the start of the game.
Now, player 2 should always be allied to player 1. If player 2 runs a trigger "foes have suffered at least 1 death of cantina" then "ally player 1". You can also use the "bring" condition instead, especially if you have a unit which is always there (can be hero, or an upgrade beacon or something).
This method will allow you to always attack whatever unit you want, but will prevent you from ever unallying/allying someone you shouldn't be able to.
"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"
'new method' is what i was looking for. thanks!
None.
Note that the only issue with that method is that you can still BS partners if you hit Attack and click their units, if you used the first suggested method, most attacks wouldn't get through, and if they did, the unit wouldn't continue attacking.
None.
that's true, maybe thats a better idea..
None.