You can actually make it so you can choose custom race in the lobby by going to Map -> Game Attributes then defining new PLAYER attribute and listing all races available in your game, this will be separate of real "race" so it won't affect anything in game comes with choosing race. After you have made you attribute you need to make it so it shows up in the lobby, by going to Map -> Game Variants and removing normal race selection and adding your custom attribute as the race selector. Then when the game starts you can get their selection of the race by doing a comparison of "Attribute Player Value"
General - If (Conditions) then do (Actions) else do (Actions)
If (Custom Race Attribute value for player 1) == Custom Race
You can also do this for the spawn position for example "Spawn Location" - Random, Top Left, Top Right... etc..
But if you want to create menu for it in game you should follow MaskedImposter's suggestion
How do I achieve this through triggers since the lobby does not allow custom races.
The entire thing? For creating a menu, you'll want to look at the tutorials on dialogs.
You can actually make it so you can choose custom race in the lobby by going to Map -> Game Attributes then defining new PLAYER attribute and listing all races available in your game, this will be separate of real "race" so it won't affect anything in game comes with choosing race. After you have made you attribute you need to make it so it shows up in the lobby, by going to Map -> Game Variants and removing normal race selection and adding your custom attribute as the race selector. Then when the game starts you can get their selection of the race by doing a comparison of "Attribute Player Value"
General - If (Conditions) then do (Actions) else do (Actions)
If (Custom Race Attribute value for player 1) == Custom Race
You can also do this for the spawn position for example "Spawn Location" - Random, Top Left, Top Right... etc..
But if you want to create menu for it in game you should follow MaskedImposter's suggestion
@Knallertton: Go
I am glad I was wrong... And thanks :D