This seems silly, but for the life of me I can't make this happen.
In short, I'm trying to set up a melee game of two teams where each team has a line of defensive structures and units not owned by the human players. I do not want the comp for each team to do anything other than attack what comes at its structures. I imagine I could write a trigger to kill off any town and workers that spawn, but I can't figure out what to do to keep the cpu from running attacks with what it has.
Any ai or trigger trick I'm missing here?
(also note that some cpu's are helping out the human players)
Almost got this figured out. It looks like I can (under player properties) make the defense cpu controlled as hostil, then run triggers to really them with their team. What I don't get though is the player->set alliance with trigger definitely gives alliance, but it doesn't seem to do so with the players I tell it to?
Err, I don't remember ever having to do anything at all to make the computer AI not function...aside from deleting the default melee map init trigger. My computer controlled units have always sat on their hands unless attacked.
This seems silly, but for the life of me I can't make this happen.
In short, I'm trying to set up a melee game of two teams where each team has a line of defensive structures and units not owned by the human players. I do not want the comp for each team to do anything other than attack what comes at its structures. I imagine I could write a trigger to kill off any town and workers that spawn, but I can't figure out what to do to keep the cpu from running attacks with what it has.
Any ai or trigger trick I'm missing here?
(also note that some cpu's are helping out the human players)
@AtrusReNavah: Go
Almost got this figured out. It looks like I can (under player properties) make the defense cpu controlled as hostil, then run triggers to really them with their team. What I don't get though is the player->set alliance with trigger definitely gives alliance, but it doesn't seem to do so with the players I tell it to?
@AtrusReNavah: Go
Err, I don't remember ever having to do anything at all to make the computer AI not function...aside from deleting the default melee map init trigger. My computer controlled units have always sat on their hands unless attacked.
@Chiquihuite: Go
Can't delete the init trigger though because I want to allow for computer allies.
Also the standard AI does not work for custom units
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg