SetBaseProduction
Category: Player
Since engine version: 5.1 OC
Description
Sets resupply speed of buyable objects at the home base.
Syntax
bool SetBaseProduction(int player, id type, int cnt);
Parameters
- player:
Number of the player whose home base resupply list you want to set.
- type:
id of the object type you want to adjust.
- cnt:
Set the resupply value (positive).
Example
SetBaseProduction(0, Firestone, 0);
No more flintstones are resupplied for the first player.
Maikel, 2014-04