AIClearStock
native void AIClearStock (int player);
Remove everything from the stock
Parameters
- int player
Player number
Examples
- Example: Protoss Build
void ProtossOpenGnd0 (int player) { // Remove everything from the stock AIClearStock(player); // Add things to the stock AISetStock( player, 1, c_PB_Nexus ); AISetStock( player, 8, c_PU_Probe ); AISetStock( player, 1, c_PB_Pylon ); // around 100 resources in about 2 units AISetStock( player, 1, c_PU_Zealot ); ProtossTechUp(player, 1); }