SC2Mapster.com Wiki

SC2 API / Functions / MeleeInitUnits

MeleeInitUnits

void MeleeInitUnits()

Give to the players initial units.

  • The initial units are defined in the file RaceData.xml.
  • It only works once. Calling it multiple times does nothing after the first time.

Examples

Example: Sample Usage
void InitMap() {
  MeleeInitResources();
  MeleeInitUnits();
  MeleeInitAI();
  MeleeInitOptions();
}

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Mar 24, 2010
Last updated
Mar 24, 2010

Author