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

OVERWATCH STATUS GO

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\:
My Overwatch addiction.

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

OVERWATCH STATUS GO

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\:
My Overwatch addiction.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: jun3hong