What the title said. The custom map I'm working on has 3 players:
> Black Terran (You)
> Blue Terran (Supposed ally)
> Brown Zerg (Hostile)
First I set the Blue Terran Control to Neutral, and the AI to Computer. The Blue dudes do nothing when the Brown Zerg comes into view. They won't attack.
Then I set the Blue Terran Control to Computer, and AI to Computer. Suddenly my units start shooting at them. I assume that the Blue Terran will also attack me, if my units were visible (they were permanently cloaked).
I was unable to see if the Brown Zerg is indeed hostile (units are cloaked), although I assume it is.
In SC:BW Editor, I could simply drag and drop the Players into 4 teams. Players on the same team would be treated as allies.
I'm not so sure how to replicate this in SC2 Editor. I want to have the Blue Terran as an ally, such that it will attack any Brown Zerg, and heal my units (Blue Terran's Medic).
Could I have some help on this?
There is a function in the trigger editor:
"make player (x) units treat player (y) units as (ally/neutral/enemy) with (shared vision/no shared vision)"
This way you can set aliances on the fly and change them whenever you want. If you want the alliance to go both ways then make sure to do it twice one for x->y and once for y->x.
Open up the trigger editor and there will be a trigger called "map initialization" put these functions in there and they will be set at the start of the game.
If you go into "map->team placement (basic)" you can set "Linked allies" by start location. I always assumed that that would also set alliances at the start but I've never tested it.
Edited by Turtles on 1/28/2012 10:13 AM PST
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.