# Clear Stock
Grammar — Clear the stock lists of units and buildings to make for player player
Flags —Native
|Action
Clears the stock lists of units and buildings to make for a player.
# Arguments
int
— Player
Returns — void
native void AIClearStock(int player);
# Related
Category: AI Advanced / Construction / Actions
- [F] —
void
— Build — ( AIBuild ) - [F] —
void
— Train — ( AITrain ) - [F] —
void
— Research — ( AIResearch ) - [F] —
void
— Make Always — ( AIMakeAlways ) - [F] —
void
— Make Once — ( AIMakeOnce ) - [F] —
void
— Clear Build Queue — ( AIClearBuildQueue ) - [F] —
void
— Clear Train Queue — ( AIClearTrainQueue ) - [F] —
void
— Clear Research Queue — ( AIClearResearchQueue ) - [F] —
void
— Clear Stock — ( AIClearStock ) - [F] —
void
— Enable Stock — ( AIEnableStock ) - [F] —
void
— Set StockEx — ( AISetStockEx ) - [F] —
void
— Set Stock — ( AISetStock ) - [F] —
void
— Set StockOpt — ( AISetStockOpt ) - [F] —
void
— Set StockUnitNext — ( AISetStockUnitNext ) - [F] —
bool
— Set StockTown — ( AISetStockTown ) - [F] —
bool
— Set StockExpand — ( AISetStockExpand ) - [F] —
void
— Set StockAlias — ( AISetStockAlias ) - [F] —
void
— Set StockFree — ( AISetStockFree ) - [F] —
void
— Default Economy — ( AIDefaultEconomy ) - [F] —
void
— Default Expansion — ( AIDefaultExpansion )
# Examples
# mods/liberty.sc2mod
// L120
AIClearStock(player)
// L187
AIClearStock(player)
// L238
AIClearStock(player)
// L286
AIClearStock(player)
// L356
AIClearStock(player)
// L425
AIClearStock(player)
// L491
AIClearStock(player)
// L551
AIClearStock(player)
// L597
AIClearStock(player)
// L658
AIClearStock(player)
# mods/liberty.sc2mod
// L151
AIClearStock(player)
// L362
AIClearStock(player)
// L689
AIClearStock(player)
# mods/liberty.sc2mod
// L277
AIClearStock(player)
// L567
AIClearStock(player)
// L984
AIClearStock(player)
# mods/liberty.sc2mod
// L120
AIClearStock(player)
// L187
AIClearStock(player)
// L238
AIClearStock(player)
// L286
AIClearStock(player)
// L356
AIClearStock(player)
// L425
AIClearStock(player)
// L491
AIClearStock(player)
// L551
AIClearStock(player)
// L597
AIClearStock(player)
// L658
AIClearStock(player)
# mods/liberty.sc2mod
// L242
AIClearStock(player)
// L529
AIClearStock(player)
// L910
AIClearStock(player)
# mods/liberty.sc2mod
// L208
AIClearStock(player)
// L442
AIClearStock(player)
// L801
AIClearStock(player)
# mods/liberty.sc2mod
// L133
AIClearStock(player)
// L329
AIClearStock(player)
// L637
AIClearStock(player)
# mods/liberty.sc2mod
// L153
AIClearStock(player)
// L220
AIClearStock(player)
// L271
AIClearStock(player)
// L319
AIClearStock(player)
// L389
AIClearStock(player)
// L458
AIClearStock(player)
// L524
AIClearStock(player)
// L584
AIClearStock(player)
// L630
AIClearStock(player)
// L691
AIClearStock(player)
# mods/liberty.sc2mod
// L124
AIClearStock(player)
// L166
AIClearStock(player)
// L239
AIClearStock(player)
// L281
AIClearStock(player)
// L353
AIClearStock(player)
// L431
AIClearStock(player)
// L505
AIClearStock(player)
// L569
AIClearStock(player)
// L617
AIClearStock(player)
// L669
AIClearStock(player)
# mods/liberty.sc2mod
// L148
AIClearStock(player)
// L349
AIClearStock(player)
// L691
AIClearStock(player)
# mods/liberty.sc2mod
// L318
AIClearStock(player)
// L629
AIClearStock(player)
// L1116
AIClearStock(player)
# mods/liberty.sc2mod
// L124
AIClearStock(player)
// L166
AIClearStock(player)
// L239
AIClearStock(player)
// L281
AIClearStock(player)
// L353
AIClearStock(player)
// L431
AIClearStock(player)
// L505
AIClearStock(player)
// L569
AIClearStock(player)
// L617
AIClearStock(player)
// L669
AIClearStock(player)
# mods/liberty.sc2mod
// L302
AIClearStock(player)
// L609
AIClearStock(player)
// L1068
AIClearStock(player)
# mods/liberty.sc2mod
// L237
AIClearStock(player)
// L497
AIClearStock(player)
// L883
AIClearStock(player)
# mods/liberty.sc2mod
// L127
AIClearStock(player)
// L313
AIClearStock(player)
// L634
AIClearStock(player)
# mods/liberty.sc2mod
// L159
AIClearStock(player)
// L201
AIClearStock(player)
// L274
AIClearStock(player)
// L316
AIClearStock(player)
// L388
AIClearStock(player)
// L466
AIClearStock(player)
// L540
AIClearStock(player)
// L604
AIClearStock(player)
// L652
AIClearStock(player)
// L704
AIClearStock(player)
# mods/liberty.sc2mod
// L118
AIClearStock(player)
// L164
AIClearStock(player)
// L207
AIClearStock(player)
// L262
AIClearStock(player)
// L313
AIClearStock(player)
// L363
AIClearStock(player)
// L408
AIClearStock(player)
// L454
AIClearStock(player)
// L507
AIClearStock(player)
// L568
AIClearStock(player)