# Set Starting Resources For All Players
Grammar — Set melee starting resources for all players
Flags —Native
|Action
Sets the default starting resources for all players, which is 50 minerals.
Returns — void
native void MeleeInitResources();
# 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/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:9160
// Automatic Variable Declarations
// Implementation
MeleeInitResources();
}
mods/warcoop/warclassicsystem.sc2mod — base.sc2data/TriggerLibs/WarClassicSystem.galaxy:243
}
}
MeleeInitResources();
MeleeInitAI();
MeleeInitOptions();