# Set StockOpt

Grammar — Set stock for player player to make count units of type unitType
FlagsNative | Action

Set stock for a player to make units of the specified unit type using the “optional” Stock Flag.

# Arguments

  • int — Player
  • int — Count
  • string [ gamelink::Unit ] — Unit Type

Returns — void

native void AISetStockOpt(
	int player,
	int count,
	string aliasType,
);

Category: AI Advanced / Construction / Actions

# Examples

— None found —