# Default/Code Get Maker

Grammar — (Default Code Version) Return the maker for object object made by player player
FlagsNative | Function

Returns the ID of the unit type that directly makes the specified object for a player. Same as the script version, except this version cannot be modified to handle custom requirements.

# Arguments

  • int — Player
  • string — Object

Returns — string

native string AIDefaultGetMaker(
	int player,
	string aliasType,
);

Category: AI Advanced / Requirements / Functions

# Examples

# mods/core.sc2mod

RequirementsAI.galaxy

// L681
AIDefaultGetMaker(player, objType)
// L718
AIDefaultGetMaker(player, objType)