# Script Get Maker
Grammar — (Script version) Return the unit name that directly makes object object for player player
Flags —Function
|CustomAI
Returns the ID of the unit type that directly makes the specified object for a player. Same as the default/code version, except this version could potentially be modified to handle custom requirements.
# Arguments
int
— Playerstring
— Object
Returns — string
# 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
— None found —