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.
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
[2026-5-31. : 2:55 pm]
Moose -- >reddit :rip2:
[2026-5-31. : 2:07 pm]
IskatuMesk -- reddit 💀
Please log in to shout.


Members Online: NudeRaider