# Set StockExpand

Grammar — Expand set stock for player player using town hall type townHall with count count|#
FlagsNative | Action

Adds an expansion into the stock for an AI player. When the AI reaches this point in the stock list, it will build the specified TownHall type at an expansion point rather than spending money on units or other buildings.

# Arguments

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

Returns — bool

native bool AISetStockExpand(
	int player,
	string aliasUnitTypeTH,
	int count,

Category: AI Advanced / Construction / Actions

# Examples

— None found —