I don't believe you can change a players race in-game. SCLayouts also won't be able to do what you want to the UI since they are not dynamic. However, I think you might be able to achieve the effect you are looking for by using triggers and this tutorial as a starting point: http://us.battle.net/sc2/en/forum/topic/6471837878
I haven't completely read through this tutorial yet (just bookmarked it), but it should be a good starting point. Failing all else, you could just rebuild the UI for each player using Dialogs and Dialog Item (Images), which is a pain in the butt.
ElBushido Regular ShmoeHi everyone!
Here is the thing: I made 4 races with unique units and made a dialog that has 4 buttons corresponding to each "race" i made. This is a Tower D map btw.
The problem: I have 1 protoss, 1 zerg, 2 terran race and want to make the game to load the right UI for each race. Right now it randomly assigns them and its a bit funny when a player choose a terran race but every button and all is zergy. I made the race choose button hiden in the lobby. It wont really do the job anyways since i have 2 terran race so I could assigne only 1 of the terran race to it (and dont want to make an extra button, I want the race choosing happen in-game). Plus i want to use the dialogs. Is there a way to assign race? I.e:
if player uses dialog button "protoss"
action: set player race to protoss (this senerio does not exists I tried lol)
Or something like that?