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.
[10:41 am]
ManCubuS -- Seems like something's broken regarding the site then. Sadge...
[07:36 am]
Oh_Man -- have i ever told u guys my SC2 pro-gamer story
[2026-7-26. : 11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[2026-7-26. : 3:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[2026-7-26. : 3:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[2026-7-26. : 3:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[2026-7-26. : 3:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[2026-7-26. : 11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
Please log in to shout.


Members Online: DarkenedFantasies