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.
[12:00 am]
Oh_Man -- he hasnt won a single game so far this is hilarious
[11:41 pm]
Oh_Man -- new arty username Rage Against The Machine
[10:14 pm]
Oh_Man -- https://m.youtube.com/watch?v=KPXri8q9ZBs artys vsing the bot now
[08:12 pm]
Ultraviolet -- do you even lift bro?
[2026-9-23. : 5:21 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider yeh thts straight up cheating
the mutas yes, the wraiths probably not. Have you even watched the video? ;)
[2026-9-23. : 12:56 pm]
Oh_Man -- NudeRaider
NudeRaider shouted: Oh_Man Artosis hasn't caught on how devastating the perfect focus fire is. With the mutas he was like "the Mutas always seem to have less hp than against a human". But he didn't notice that the flock he had selected always just had one muta that was hurt. Same with the wraiths here. He's talking about how valks+wraith is gonna destroy Pluto's valks, then 5s later he's dumbfounded the human player's air is just gone and he never figured out why. And for some reason didn't even think to go back and look at the battle.
yeh thts straight up cheating
[2026-9-23. : 12:24 pm]
Oh_Man -- arty's done another vid. he's also announced he's going to organise showmatches with pro, with NO maphacks, so we can see its actual capabilities
[2026-9-23. : 10:09 am]
NimoStar -- It can by playing the same map thousands of times. It is similar to AI speedrunning games
Please log in to shout.


Members Online: jun3hong