ally
Aug 2 2009, 5:39 pm
By: Exigence  

Aug 2 2009, 5:39 pm Exigence Post #1



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.

Aug 2 2009, 5:43 pm Kaias Post #2



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.

Aug 2 2009, 5:44 pm Madroc Post #3



Make it so that they only ally each other every few seconds, using death count timers.

Edit Kaias I'm pretty sure your way doesn't work but I'm not very sure.

Edit rockz's is totally best.


Post has been edited 1 time(s), last time on Aug 3 2009, 6:57 am by Madroc.



None.

Aug 2 2009, 7:38 pm rockz Post #4

ᴄʜᴇᴇsᴇ ɪᴛ!

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?"

Aug 2 2009, 9:12 pm Exigence Post #5



'new method' is what i was looking for. thanks! :)



None.

Aug 3 2009, 7:05 am Falkoner Post #6



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.

Aug 3 2009, 7:23 pm Exigence Post #7



that's true, maybe thats a better idea..



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[07:32 pm]
Zoan -- I got $2000 bonus. I would like 2000 minerals, please
[2026-4-16. : 4:15 am]
DarkenedFantasies -- you eat lots of beans
[2026-4-16. : 3:46 am]
IskatuMesk -- how do i get gas
[2026-4-15. : 11:43 pm]
Moose -- you don't
[2026-4-15. : 10:06 pm]
Zoan -- how do i get minerals
[2026-4-14. : 11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
Please log in to shout.


Members Online: Zincoshine, anoeth47