# Make Once

Grammar — Make count|Number objects of type objectType|Objects in player player’s town town with priority priority only if they don’t exist yet
FlagsNative | Action

Instructs the AI to make the specified unit or building only if the AI has 0 of them built or in queue.

# Arguments

  • int — Player
  • int — Priority
  • int — Town
  • string — Object Type
  • int — Count

Returns — void

native void AIMakeOnce(
	int player,
	int priority,
	int town,
	string aliasType,
	int count,
);

Category: AI Advanced / Construction / Actions

# Examples

— None found —