# Default/Code Get First Unfinished Req

Grammar — (Default Code Version) Get the first unfinished requirment to make object object for player player
FlagsNative | Function

Returns the first unfinished requirment to make an 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 AIDefaultGetFirstUnfinishedReq(
	int player,
	string aliasType,

Category: AI Advanced / Requirements / Functions

# Examples

# mods/core.sc2mod


// L701
AIDefaultGetFirstUnfinishedReq(player, objType)
// L738
AIDefaultGetFirstUnfinishedReq(player, objType)