Hello, i'm trying to transfer all of the units when a player quits the game, but i can't find the command to sellect all of the units from a specific player. Also, how could i transfer specific units, which fall under certain categories like workers and buildings? Thx
Hello, i have another problem now. When is start the map, my co-player starts with me while the enemy doesn't spawn at all. Can you please check the initialization code and tell me what i did wrong.
I've fixed the problem, it was the Team 2 macro = team 1 macro..
Anyhow, now i want to know how can i make the made units still count as supply for that player. For example if player 1 makes a zealot that zealot gets transfered to player 2, however i want player 1 to get the supply down from that unit. If possible, the best solution would be to make the two players share spending (but not unit control).
Supply1
Events
Player - Player (Round(Team 1 Mac)) Supplies Used changes
Local Variables
Conditions
Actions
Player - Modify player Team 1 Mac Supplies Used: Set To {(Player Team 1 Mac Supplies Used)+(Player Team 1 Mic Supplies Used)}
I think this solves it, now i just wanna know how to synch tech trees between two players
Hello, i'm trying to transfer all of the units when a player quits the game, but i can't find the command to sellect all of the units from a specific player. Also, how could i transfer specific units, which fall under certain categories like workers and buildings? Thx
Use the Pick each unit UnitGroup funtion and for the unitgroup you can use Units In Region Matching Condition.
Hello, i have another problem now. When is start the map, my co-player starts with me while the enemy doesn't spawn at all. Can you please check the initialization code and tell me what i did wrong.
http://pastebin.com/MyDZXX5y
I've fixed the problem, it was the Team 2 macro = team 1 macro..
Anyhow, now i want to know how can i make the made units still count as supply for that player. For example if player 1 makes a zealot that zealot gets transfered to player 2, however i want player 1 to get the supply down from that unit. If possible, the best solution would be to make the two players share spending (but not unit control).
Supply1 Events Player - Player (Round(Team 1 Mac)) Supplies Used changes Local Variables Conditions Actions Player - Modify player Team 1 Mac Supplies Used: Set To {(Player Team 1 Mac Supplies Used)+(Player Team 1 Mic Supplies Used)}
I think this solves it, now i just wanna know how to synch tech trees between two players
apparently
Research1 Events
Unit - Any Unit research progress is Completed
Local Variables
Conditions
(Owner of (Triggering progress unit)) == Team 1 Mac
Actions
Tech Tree - Add (Triggering unit property change) to (Triggering progress upgrade) upgrade for player Team 1 Mic
does not work :<