# Default/Code Get First Missing Req

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

Returns the first completely missing 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 AIDefaultGetFirstMissingReq(
	int player,
	string aliasType,

Category: AI Advanced / Requirements / Functions

# Examples

# mods/core.sc2mod


// L691
AIDefaultGetFirstMissingReq(player, objType)
// L728
AIDefaultGetFirstMissingReq(player, objType)

# mods/warcoop/warmeleeai.sc2mod


// L26
AIDefaultGetFirstMissingReq(player, aliasType)