DoBaseMaterial
Category: Player
Since engine version: 5.1 OC
Description
Changes availability of buyable objects at the home base.
Syntax
bool DoBaseMaterial(int player, id definition, int change);
Parameters
- player:
Number of the player whose home base material you want to change.
- definition:
id of the buyable object type you want to adjust.
- change:
Change of the available amount (positive or negative).
Example
DoBaseMaterial(0, Firestone, 1);
The player can now buy one flint more.
Maikel, 2014-04