# Default/Code Get Full Make Time
Grammar — (Default Code Version) Get the full make time for object object for player player
Flags —Native
|Function
Returns the total amount of time required to make the specified object (including the time it would take to tech up to that object’s requirements). Returned value is in sixteenths of a second. Same as the script version, except this version cannot be modified to handle custom requirements.
# Arguments
int
— Playerstring
— Object
Returns — int
native int AIDefaultGetFullMakeTime(
int player,
string aliasType,
);
# Related
Category: AI Advanced / Requirements / Functions
- Script Get Maker
- Script Get Object Type
- Script Get First Missing Req
- Script Get First Unfinished Req
- Script Get Full Make Time
- Default/Code Get Maker —
string
— AIDefaultGetMaker - Default/Code Get Object Type —
int
— AIDefaultGetObjectType - Default/Code Get First Missing Req —
string
— AIDefaultGetFirstMissingReq - Default/Code Get First Unfinished Req —
string
— AIDefaultGetFirstUnfinishedReq - Default/Code Get Full Make Time —
int
— AIDefaultGetFullMakeTime - Get Base Name —
string
— AIGetBaseName - Get BuildAt Name —
string
— AIGetBuildAtName
# Examples
mods/core.sc2mod — base.sc2data/TriggerLibs/RequirementsAI.galaxy:711
// override any special cases here
return AIDefaultGetFullMakeTime(player, objType);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/TriggerLibs/RequirementsAI.galaxy:748
// override any special cases here
return AIDefaultGetFullMakeTime(player, objType);
}