# Script Get Maker

Grammar — (Script version) Return the unit name that directly makes object object for player player
FlagsFunction | 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 — Player
  • string — Object

Returns — string

Category: AI Advanced / Requirements / Functions

# Examples

— None found —