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.
Currently Working On: My Overwatch addiction.
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
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.
Currently Working On: My Overwatch addiction.