# Set Starting Units For All Players
Grammar — Create melee starting units for all players
Flags —Native
|Action
Creates the primary structure and starting workers for all players
Returns — void
native void MeleeInitUnits();
# Related
Category: Melee / Melee Defaults
- Set Starting Resources For All Players —
void
— MeleeInitResources - Set Starting Units For All Players —
void
— MeleeInitUnits - Start Melee AI For All Players —
void
— MeleeInitAI - Set Default Melee Options For All Players —
void
— MeleeInitOptions
# Examples
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:246
MeleeInitAI();
MeleeInitOptions();
MeleeInitUnits();
GameTimeOfDaySet(libGAwX_gv_bj_MELEE_STARTING_TOD);
auto373C6EF4_g = libGAwX_gv_allPlayers;