Staredit Network > Forums > SC2 Assistance > Topic: [Solved] Computer Allied with players
[Solved] Computer Allied with players
This topic is locked. You can no longer write replies here.
Oct 4 2010, 9:38 pm
By: DevliN  

Oct 4 2010, 9:38 pm DevliN Post #1

Woah

I was just wondering if anyone has found a way to get a Computer player to ally with Human players? I'm currently working on a map in which the players control heroes that face oncoming enemy units. They also need an allied computer player to assist in the killing, but I can't seem to get the Computers to ally or the Neutrals to kill each other.

I have seen maps that essentially use one of the human players as a base for allied computer-controlled units, but I'd rather not do that if I don't have to.



:devlin: Currently Working On: :devlin:
Myself

Oct 5 2010, 2:21 am Roy Post #2

An artist's depiction of an Extended Unit Death

It can easily be done via triggers. Assuming player 1 is the human, player 2 is the allied computer, and player 3 is the enemy computer:

  Events
    Game - Map initialization
  Local Variables
  Conditions
  Actions
Player - Make player 1 and player 2 treat each other as Ally
Player - Make player 1 and player 3 treat each other as Enemy
    Player - Make player 2 and player 3 treat each other as Enemy




Oct 5 2010, 2:22 am DevliN Post #3

Woah

Hmm I tried that originally and it didn't work. I'll give it a shot again, though. Maybe something went wrong the first time.

EDIT:
Okay yeah, that worked. Originally I set the alliance status of a player group, but didn't have players in said groups. Go me!

Post has been edited 1 time(s), last time on Oct 5 2010, 2:31 am by DevliN.



:devlin: Currently Working On: :devlin:
Myself

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[03:35 pm]
Symmetry -- though mine's probably worse
[03:35 pm]
Symmetry -- That certainly sounds similar to what I've made
[06:28 am]
Ultraviolet -- sounds like Bound & Defend
[07:43 pm]
Symmetry -- If you take the reins you damn well be ready to ride
[2026-5-23. : 2:46 pm]
NudeRaider -- you wish
[2026-5-23. : 12:43 am]
IskatuMesk -- Ah, so Reindeer Breeding 3: BDSM edition.
[2026-5-22. : 12:45 am]
Moose -- tbh
[2026-5-20. : 8:27 pm]
Symmetry -- It's a bound map where you cross obstacles to earn units to defend your base
[2026-5-20. : 8:16 pm]
Symmetry -- No, the world isn't ready for that
[2026-5-20. : 5:11 pm]
Zoan -- Reindeer Breeding 3?
Please log in to shout.


Members Online: Symmetry